MCPcopy
hub / github.com/django/django / test_config_basic

Method test_config_basic

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

Source from the content-addressed store, hash-verified

38 self.assertPolicyEqual(build_policy({}), "")
39
40 def test_config_basic(self):
41 self.assertPolicyEqual(build_policy(basic_config), basic_policy)
42
43 def test_config_multiple_directives(self):
44 policy = {

Callers

nothing calls this directly

Calls 2

assertPolicyEqualMethod · 0.95
build_policyFunction · 0.90

Tested by

no test coverage detected