This commit is contained in:
Matthias 2021-09-28 22:37:54 +02:00
parent 1f96885e05
commit ed312b9cf1
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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()