Don't send the SMS if we have failed to save in the database

This commit is contained in:
Martyn Inglis
2016-02-16 17:42:04 +00:00
parent 0933e5c647
commit a2341be0e2
4 changed files with 26 additions and 23 deletions

View File

@@ -9,6 +9,7 @@ from app.dao.jobs_dao import save_job
from app.dao.notifications_dao import save_notification
import uuid
@pytest.fixture(scope='function')
def service_factory(notify_db, notify_db_session):
class ServiceFactory(object):