)]}'
{"monasca_log_api/tests/test_versions.py":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"9894009d432b8aee3a637f9d784771e17f76b8fd","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    def setUp(self):"},{"line_number":28,"context_line":"        super(TestApiVersions, self).setUp()"},{"line_number":29,"context_line":"        self.versions \u003d versions.Versions()"},{"line_number":30,"context_line":"        self.app.add_route(\"/version/\", self.versions)"},{"line_number":31,"context_line":"        self.app.add_route(\"/version/{version_id}\", self.versions)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def test_should_fail_for_unsupported_version(self):"}],"source_content_type":"text/x-python","patch_set":6,"id":"7faddb67_a84c6f76","line":30,"range":{"start_line":30,"start_character":8,"end_line":30,"end_character":54},"updated":"2019-07-25 13:17:42.000000000","message":"let\u0027s add here:\n\n  self.app.add_route(\"/\", self.versions)","commit_id":"e3e4b9c84e0ee74513e65220cd8dc3b4df2910bd"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"9894009d432b8aee3a637f9d784771e17f76b8fd","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        self.assertEqual(falcon.HTTP_400, res.status)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def test_should_return_all_supported_versions(self):"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"        def _check_elements():"},{"line_number":50,"context_line":"            self.assertIn(\u0027elements\u0027, response)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7faddb67_28ae3fe7","line":47,"updated":"2019-07-25 13:17:42.000000000","message":"let\u0027s add another test like this one, but calling simulate_request(path\u003d\u0027/\u0027, ...)","commit_id":"e3e4b9c84e0ee74513e65220cd8dc3b4df2910bd"},{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"998daf27a8212eaf26639e1e16cfba4387c15b73","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        expected_host \u003d \u0027fakehost.com\u0027"},{"line_number":84,"context_line":"        expected_url \u003d \u0027{}://{}\u0027.format(expected_protocol, expected_host)"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"        for expected_path in [\u0027/\u0027, \u0027/version\u0027]:"},{"line_number":87,"context_line":"            res \u003d self.simulate_request("},{"line_number":88,"context_line":"                path\u003dexpected_path,"},{"line_number":89,"context_line":"                protocol\u003dexpected_protocol,"}],"source_content_type":"text/x-python","patch_set":8,"id":"7faddb67_b5c60716","line":86,"range":{"start_line":86,"start_character":8,"end_line":86,"end_character":11},"updated":"2019-07-25 14:59:29.000000000","message":"Generally it\u0027s better to have lots of tests which fail for specific reasons, rather than a mega test which can fail for many different reasons. It is kind of besides the point here because we set up the endpoints in the test, rather than rely on actual code from the API to do it. Not to worry.","commit_id":"2f2593fcce64cf384f236423961e830b5d38e6a6"}]}
