Remove unused import and ensure provider details are restored after test

This commit is contained in:
Imdad Ahad
2017-03-03 10:54:20 +00:00
parent 37341e7a62
commit fe2ccb2222
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -9,7 +9,6 @@ from flask import current_app
from app import db
from app.models import (
User,
Service,
Template,
ApiKey,
+1 -1
View File
@@ -23,7 +23,7 @@ from app.models import (
from tests.app.db import create_service, create_template, create_notification
def test_should_return_highest_priority_active_provider(notify_db_session):
def test_should_return_highest_priority_active_provider(restore_provider_details):
providers = provider_details_dao.get_provider_details_by_notification_type('sms')
first = providers[0]