mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05: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.models import (
|
||||
User,
|
||||
Service,
|
||||
Template,
|
||||
ApiKey,
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user