fix global settings test

This commit is contained in:
Matthias 2021-11-14 01:32:44 +01:00
parent 013e8ab3bd
commit 990ad95c13
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -43,7 +43,7 @@ class GlobalSettingsMixinTest(BaseMixinDefinition, TestCase):
self.assertEqual(self.mixin.globalsettings, self.TEST_SETTINGS)
# settings pattern
target_pattern = {f'PLUGIN_{self.mixin.slug.upper()}_{key}': value for key, value in self.mixin.settings.items()}
target_pattern = {f'PLUGIN_{self.mixin.slug.upper()}_{key}': value for key, value in self.mixin.globalsettings.items()}
self.assertEqual(self.mixin.globalsettingspatterns, target_pattern)
# no settings