Autouse notification_sender fixture
This commit is contained in:
parent
9ba1def91c
commit
9399b34a56
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user