From 9399b34a56d83fe4b320036df88610c0d3288863 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Wed, 15 May 2019 11:26:39 -0400 Subject: [PATCH] Autouse notification_sender fixture --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index c46c4436..0b6d4f52 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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()