Test that a single value can be passed as a string.
(self)
| 50 | ) |
| 51 | |
| 52 | def test_config_value_as_string(self): |
| 53 | """ |
| 54 | Test that a single value can be passed as a string. |
| 55 | """ |
| 56 | policy = {"default-src": CSP.SELF} |
| 57 | self.assertPolicyEqual(build_policy(policy), "default-src 'self'") |
| 58 | |
| 59 | def test_config_value_as_tuple(self): |
| 60 | """ |
nothing calls this directly
no test coverage detected