more flake8. lots of unused imports and variables that didn't get used. i tried to preserve old variable names as comments when it looked like they were useful (eg when they were describing timestamps)

This commit is contained in:
Leo Hemsted
2017-11-28 17:21:21 +00:00
parent b1cccdcc6b
commit 08494ef206
30 changed files with 99 additions and 104 deletions

View File

@@ -13,12 +13,18 @@ from app.models import (
SMS_TYPE,
EMAIL_TYPE,
LETTER_TYPE,
NOTIFICATION_STATUS_TYPES,
NOTIFICATION_CREATED,
NOTIFICATION_DELIVERED,
NOTIFICATION_FAILED,
NOTIFICATION_PENDING,
NOTIFICATION_PERMANENT_FAILURE,
NOTIFICATION_SENDING,
NOTIFICATION_SENT,
NOTIFICATION_STATUS_SUCCESS,
NOTIFICATION_TECHNICAL_FAILURE,
NOTIFICATION_TEMPORARY_FAILURE,
NOTIFICATION_PERMANENT_FAILURE,
NOTIFICATION_PENDING, NOTIFICATION_CREATED, NOTIFICATION_FAILED, NOTIFICATION_SENT, NOTIFICATION_SENDING,
NOTIFICATION_STATUS_TYPES_COMPLETED, Notification, NOTIFICATION_STATUS_TYPES, NOTIFICATION_STATUS_SUCCESS)
)
from tests.app.conftest import sample_notification, sample_email_template, sample_template, sample_job, sample_service