)]}'
{"oslo_policy/tests/test_checks.py":[{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"89b92c582f26dcaf07b8525c070613452b6331df","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    def test_accept(self):"},{"line_number":73,"context_line":"        check \u003d _checks.RoleCheck(\u0027role\u0027, \u0027sPaM\u0027)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        self.assertTrue(check({}, dict(roles\u003d[\u0027SpAm\u0027]), self.enforcer))"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def test_reject(self):"},{"line_number":78,"context_line":"        check \u003d _checks.RoleCheck(\u0027role\u0027, \u0027spam\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_b06c749d","line":75,"range":{"start_line":75,"start_character":24,"end_line":75,"end_character":29},"updated":"2015-12-17 07:51:59.000000000","message":"why did this test and the one below have to change?","commit_id":"efea2ada1cfdcfc6b58b09e4b812be90aadfc5cd"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"ddb25df59f4afd955b908c2da1ffc4f7c8198091","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    def test_accept(self):"},{"line_number":73,"context_line":"        check \u003d _checks.RoleCheck(\u0027role\u0027, \u0027sPaM\u0027)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        self.assertTrue(check({}, dict(roles\u003d[\u0027SpAm\u0027]), self.enforcer))"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def test_reject(self):"},{"line_number":78,"context_line":"        check \u003d _checks.RoleCheck(\u0027role\u0027, \u0027spam\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_0878b1f1","line":75,"range":{"start_line":75,"start_character":24,"end_line":75,"end_character":29},"in_reply_to":"3a7e1126_b06c749d","updated":"2015-12-17 11:17:33.000000000","message":"To avoid TypeError. According to oslo_policy.policy.Rules.enforce(),\nCheck class and its subclasses are called like \"rule(target, credentials, self)\" and type of target is dict. This commit adds string format renderer and these tests will be failed.","commit_id":"efea2ada1cfdcfc6b58b09e4b812be90aadfc5cd"}]}
