def test_policy_file_load(self):
        policy_backend.reset()
        enforcer = policy_backend._get_enforcer()
        self.assertEqual(2, len(enforcer))
        self.assertTrue('identity' in enforcer)
        self.assertTrue('compute' in enforcer)
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/test/tests/policy_backend.py/PolicyBackendTestCase.test_policy_file_load/original