)]}'
{"vitrage_tempest_plugin/tests/api/templates/test_template.py":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"aa243d8b4a92292080d0d6992bee2f029e10a1f9","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        uuid \u003d self._add_delete_template()"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        # \u0027show template\u0027 and check for an empty output"},{"line_number":154,"context_line":"        response \u003d utils.run_vitrage_command(\u0027vitrage template show \u0027 + uuid)"},{"line_number":155,"context_line":"        self.assertEqual(\"\", response,"},{"line_number":156,"context_line":"                         message\u003d\"Shouldn\u0027t show a DELETED template\")  # Expected: an empty string."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"5fc1f717_8ee18eff","line":154,"range":{"start_line":154,"start_character":19,"end_line":154,"end_character":77},"updated":"2019-04-02 07:01:21.000000000","message":"better call self.vitrage_client.template.show()","commit_id":"aa21ce1e28bacc25243041805eec041abfa1f115"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"69316d17dc6834db16eddc7ca1882fa4ebd7f70b","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        # \u0027show template\u0027 and check for the expected error message"},{"line_number":152,"context_line":"        try:"},{"line_number":153,"context_line":"            self.vitrage_client.template.show(uuid)"},{"line_number":154,"context_line":"        except Exception as e:"},{"line_number":155,"context_line":"            self.assertEqual(e.message, \"Failed to show template.\")"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    def test_compare_cli_to_api(self):"}],"source_content_type":"text/x-python","patch_set":6,"id":"5fc1f717_99c0f12c","line":154,"updated":"2019-04-02 14:43:29.000000000","message":"Please, use asserRaises [1] here.\n\n[1] https://docs.python.org/2.7/library/unittest.html#unittest.TestCase.assertRaises","commit_id":"cb51edbff0b5778374aa67bc658d0a9ca8dc7d55"},{"author":{"_account_id":19134,"name":"Eyal","email":"eyalb1@gmail.com","username":"eyalb"},"change_message_id":"4e71b0c69d815e274cbc653b0915ea1a335a5a81","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def test_template_dont_show_deleted_template(self):"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        uuid \u003d self._add_delete_template()"},{"line_number":151,"context_line":"        # \u0027show template\u0027 and check for the expected exception"},{"line_number":152,"context_line":"        self.assertRaises(Exception, self.vitrage_client.template.show, uuid)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def test_compare_cli_to_api(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"5fc1f717_184944b6","line":151,"range":{"start_line":151,"start_character":8,"end_line":151,"end_character":62},"updated":"2019-04-03 14:24:42.000000000","message":"no need for this comment it is obvious from the code","commit_id":"8a51d836977c60cf09c2774157ab9adf1a9750d8"}]}
