Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/t/u/tuskar-0.4.1/tuskar/tests/policy_fixture.py   tuskar(Download)
    def set_rules(self, rules):
        common_policy.set_rules(common_policy.Rules(
            dict((k, common_policy.parse_rule(v)) for k, v in rules.items())))
 

src/t/u/tuskar-HEAD/tuskar/tests/policy_fixture.py   tuskar(Download)
    def set_rules(self, rules):
        common_policy.set_rules(common_policy.Rules(
                dict((k, common_policy.parse_rule(v))
                     for k, v in rules.items())))