Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_expand_minimize_over_policies(self):
result = expand_minimize_over_policies(dc(POLICIES_1), expand_policy)
self.assertEqual(result, EXPANDED_POLICIES_1)
def test_expand_minimize_over_policies_1(self):
result = expand_minimize_over_policies(EXPANDED_POLICY_1, minimize_policy, minchars=3)
self.assertEqual(result, WILDCARD_POLICY_1)