From 77f5fa9360a40766589e42f76a193cc9d9003194 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 5 Apr 2022 23:45:35 +0200 Subject: [PATCH] pep fix --- InvenTree/common/test_notifications.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/common/test_notifications.py b/InvenTree/common/test_notifications.py index af30456c0d..5fd78f6fa0 100644 --- a/InvenTree/common/test_notifications.py +++ b/InvenTree/common/test_notifications.py @@ -112,7 +112,7 @@ class SingleNotificationMethodTests(BaseNotificationIntegrationTest): class NotificationUserSettingTests(BaseNotificationIntegrationTest): """ Tests for NotificationUserSetting """ - + def setUp(self): super().setUp() self.client.login(username=self.user.username, password='password') @@ -120,6 +120,7 @@ class NotificationUserSettingTests(BaseNotificationIntegrationTest): def test_setting_attributes(self): """check notification method plugin methods: usersettings and tags """ + class SampleImplementation(BulkNotificationMethod): METHOD_NAME = 'test' GLOBAL_SETTING = 'ENABLE_NOTIFICATION_TEST'