Autouse notification_sender fixture

This commit is contained in:
richard-dds 2019-05-15 11:26:39 -04:00
parent 9ba1def91c
commit 9399b34a56

View File

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