Test that a tuple can be passed as a value.
(self)
| 57 | self.assertPolicyEqual(build_policy(policy), "default-src 'self'") |
| 58 | |
| 59 | def test_config_value_as_tuple(self): |
| 60 | """ |
| 61 | Test that a tuple can be passed as a value. |
| 62 | """ |
| 63 | policy = {"default-src": (CSP.SELF, "foo.com")} |
| 64 | self.assertPolicyEqual(build_policy(policy), "default-src 'self' foo.com") |
| 65 | |
| 66 | def test_config_value_as_set(self): |
| 67 | """ |
nothing calls this directly
no test coverage detected