MCPcopy
hub / github.com/django/django / setUp

Method setUp

tests/settings_tests/tests.py:344–346  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

342
343class TestComplexSettingOverride(SimpleTestCase):
344 def setUp(self):
345 self.old_warn_override_settings = signals.COMPLEX_OVERRIDE_SETTINGS.copy()
346 signals.COMPLEX_OVERRIDE_SETTINGS.add("TEST_WARN")
347
348 def tearDown(self):
349 signals.COMPLEX_OVERRIDE_SETTINGS = self.old_warn_override_settings

Callers

nothing calls this directly

Calls 2

copyMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected