mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 13:06:45 +00:00
pep fix
This commit is contained in:
parent
f3aab952de
commit
77f5fa9360
@ -112,7 +112,7 @@ class SingleNotificationMethodTests(BaseNotificationIntegrationTest):
|
|||||||
|
|
||||||
class NotificationUserSettingTests(BaseNotificationIntegrationTest):
|
class NotificationUserSettingTests(BaseNotificationIntegrationTest):
|
||||||
""" Tests for NotificationUserSetting """
|
""" Tests for NotificationUserSetting """
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super().setUp()
|
super().setUp()
|
||||||
self.client.login(username=self.user.username, password='password')
|
self.client.login(username=self.user.username, password='password')
|
||||||
@ -120,6 +120,7 @@ class NotificationUserSettingTests(BaseNotificationIntegrationTest):
|
|||||||
def test_setting_attributes(self):
|
def test_setting_attributes(self):
|
||||||
"""check notification method plugin methods: usersettings and tags """
|
"""check notification method plugin methods: usersettings and tags """
|
||||||
|
|
||||||
|
|
||||||
class SampleImplementation(BulkNotificationMethod):
|
class SampleImplementation(BulkNotificationMethod):
|
||||||
METHOD_NAME = 'test'
|
METHOD_NAME = 'test'
|
||||||
GLOBAL_SETTING = 'ENABLE_NOTIFICATION_TEST'
|
GLOBAL_SETTING = 'ENABLE_NOTIFICATION_TEST'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user