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

@@ -12,7 +12,6 @@ import app
from app import mmg_client, firetext_client
from app.dao import (provider_details_dao, notifications_dao)
from app.dao.provider_details_dao import dao_switch_sms_provider_to_provider_with_identifier
from app.dao.service_sms_sender_dao import dao_add_sms_sender_for_service
from app.delivery import send_to_providers
from app.models import (
Notification,
@@ -30,7 +29,6 @@ from tests.app.db import (
create_service,
create_template,
create_notification,
create_inbound_number,
create_reply_to_email,
create_reply_to_email_for_notification,
create_service_sms_sender,
@@ -818,7 +816,7 @@ def test_send_email_to_provider_should_format_reply_to_email_address(
db_notification = create_notification(template=sample_email_template)
reply_to = create_reply_to_email_for_notification(
create_reply_to_email_for_notification(
db_notification.id,
sample_service,
"test@test.com\t"