def test_get_one_by_id(self):
        e_id = str(TestRuleEnforcementController.ENFORCEMENT_1.id)
        resp = self.app.get('/v1/ruleenforcements/%s' % e_id)
        self.assertEqual(resp.status_int, http_client.OK)
        self.assertEqual(resp.json['id'], e_id)
dataset/ETHPy150Open StackStorm/st2/st2api/tests/unit/controllers/v1/test_rule_enforcements.py/TestRuleEnforcementController.test_get_one_by_id/original