Send notification emails on some http errors

This commit is contained in:
richard-dds
2019-05-15 14:31:16 -04:00
parent d8e75668b0
commit fe5def3a92
4 changed files with 26 additions and 8 deletions

View File

@@ -309,7 +309,7 @@ def mock_logger(app):
app.logger = real_logger
@pytest.fixture(scope="session", autouse=True)
@pytest.fixture(scope="function", autouse=True)
def notification_sender(app):
real_notification_sender = app.notification_sender
app.notification_sender = FakeNotificationSender()