MCPcopy
hub / github.com/django/django / test_configure

Method test_configure

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

Source from the content-addressed store, hash-verified

416
417class IsOverriddenTest(SimpleTestCase):
418 def test_configure(self):
419 s = LazySettings()
420 s.configure(SECRET_KEY="foo")
421
422 self.assertTrue(s.is_overridden("SECRET_KEY"))
423
424 def test_module(self):
425 settings_module = ModuleType("fake_settings_module")

Callers

nothing calls this directly

Calls 3

configureMethod · 0.95
LazySettingsClass · 0.90
is_overriddenMethod · 0.45

Tested by

no test coverage detected