We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e127953 commit 53f5d57Copy full SHA for 53f5d57
cms/tests/plugins.py
@@ -233,7 +233,7 @@ def test_plugin_order_alt(self):
233
placeholder = draft_page.placeholders.get(slot="col_left")
234
live_placeholder = live_page.placeholders.get(slot="col_left")
235
236
- with SettingsOverride(CMS_PERMISSION=False):
+ with self.settings(CMS_PERMISSION=False):
237
self.assertEqual(CMSPlugin.objects.get(pk=text_plugin_1.pk).position, 0)
238
self.assertEqual(CMSPlugin.objects.get(pk=text_plugin_2.pk).position, 1)
239
self.assertEqual(CMSPlugin.objects.get(pk=text_plugin_3.pk).position, 2)
0 commit comments