mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-29 10:43:58 -04:00
Remove unused import and ensure provider details are restored after test
This commit is contained in:
@@ -9,7 +9,6 @@ from flask import current_app
|
|||||||
|
|
||||||
from app import db
|
from app import db
|
||||||
from app.models import (
|
from app.models import (
|
||||||
User,
|
|
||||||
Service,
|
Service,
|
||||||
Template,
|
Template,
|
||||||
ApiKey,
|
ApiKey,
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ from app.models import (
|
|||||||
from tests.app.db import create_service, create_template, create_notification
|
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')
|
providers = provider_details_dao.get_provider_details_by_notification_type('sms')
|
||||||
|
|
||||||
first = providers[0]
|
first = providers[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user