MCPcopy
hub / github.com/django/django / test_config_empty

Method test_config_empty

tests/utils_tests/test_csp.py:37–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 self.assertEqual(parts_a, parts_b, f"Policies not equal: {a!r} != {b!r}")
36
37 def test_config_empty(self):
38 self.assertPolicyEqual(build_policy({}), "")
39
40 def test_config_basic(self):
41 self.assertPolicyEqual(build_policy(basic_config), basic_policy)

Callers

nothing calls this directly

Calls 2

assertPolicyEqualMethod · 0.95
build_policyFunction · 0.90

Tested by

no test coverage detected