Create fixture that just calls create_app

This commit is contained in:
Ryan Ahearn
2022-12-13 08:53:41 -05:00
parent 0d0db5f6f6
commit 6aa46da916
2 changed files with 10 additions and 6 deletions

View File

@@ -154,7 +154,7 @@ def test_notification_personalisation_getter_returns_empty_dict_from_None():
assert noti.personalisation == {}
def test_notification_personalisation_getter_always_returns_empty_dict(notify_api):
def test_notification_personalisation_getter_always_returns_empty_dict(notify_app):
noti = Notification()
noti._personalisation = encryption.encrypt({})
assert noti.personalisation == {}
@@ -164,7 +164,7 @@ def test_notification_personalisation_getter_always_returns_empty_dict(notify_ap
None,
{}
])
def test_notification_personalisation_setter_always_sets_empty_dict(notify_api, input_value):
def test_notification_personalisation_setter_always_sets_empty_dict(notify_app, input_value):
noti = Notification()
noti.personalisation = input_value