def test_all_rules_in_sample_file(self):
        special_rules = ["context_is_admin", "admin_or_owner", "default"]
        for (name, rule) in self.fake_policy.items():
            if special_rules in name:
                continue
            self.assertIn(name, policy.get_rules())
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/test_policy.py/RealRolePolicyTestCase.test_all_rules_in_sample_file/swapped operands of `in`