From ed312b9cf13b8288d99fb94a3c013252c046ae2a Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 28 Sep 2021 22:37:54 +0200 Subject: [PATCH] PEP fix --- InvenTree/plugins/test_integration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/plugins/test_integration.py b/InvenTree/plugins/test_integration.py index b8b5b15a33..8055252a92 100644 --- a/InvenTree/plugins/test_integration.py +++ b/InvenTree/plugins/test_integration.py @@ -28,6 +28,7 @@ class SettingsMixinTest(BaseMixinDefinition, TestCase): class SettingsCls(SettingsMixin, IntegrationPlugin): SETTINGS = self.TEST_SETTINGS self.mixin = SettingsCls() + class NoSettingsCls(SettingsMixin, IntegrationPlugin): pass self.mixin_nothing = NoSettingsCls() @@ -45,7 +46,6 @@ class SettingsMixinTest(BaseMixinDefinition, TestCase): self.assertIsNone(self.mixin_nothing.settingspatterns) - class UrlsMixinTest(BaseMixinDefinition, TestCase): MIXIN_HUMAN_NAME = 'URLs' MIXIN_NAME = 'urls' @@ -57,6 +57,7 @@ class UrlsMixinTest(BaseMixinDefinition, TestCase): return 'ccc' URLS = [url('testpath', test, name='test'), ] self.mixin = UrlsCls() + class NoUrlsCls(UrlsMixin, IntegrationPlugin): pass self.mixin_nothing = NoUrlsCls()