)]}'
{"tempest/api/compute/admin/test_hosts.py":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"ed4b17186aca79b8654e359f18527db9524ea842","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        resp, hosts \u003d self.client.list_hosts()"},{"line_number":78,"context_line":"        self.assertEqual(200, resp.status)"},{"line_number":79,"context_line":"        self.assertTrue(len(hosts) \u003e\u003d 1)"},{"line_number":80,"context_line":"        hostname \u003d hosts[0][\u0027host_name\u0027]"},{"line_number":81,"context_line":"        resp, resources \u003d self.client.show_host_detail(hostname)"},{"line_number":82,"context_line":"        self.assertEqual(200, resp.status)"},{"line_number":83,"context_line":"        self.assertTrue(len(resources) \u003e\u003d 1)"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FzFc%3D","line":80,"updated":"2013-09-19 01:34:08.000000000","message":"it is better to add a blank line for readability.","commit_id":"066980aa242024894affe4fb876ee4504d2861b4"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"ed4b17186aca79b8654e359f18527db9524ea842","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        self.assertIsNotNone(host_resource[\u0027cpu\u0027])"},{"line_number":87,"context_line":"        self.assertIsNotNone(host_resource[\u0027disk_gb\u0027])"},{"line_number":88,"context_line":"        self.assertIsNotNone(host_resource[\u0027memory_mb\u0027])"},{"line_number":89,"context_line":"        self.assertIsNotNone(host_resource[\u0027host\u0027])"},{"line_number":90,"context_line":"        self.assertIsNotNone(host_resource[\u0027project\u0027])"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    @attr(type\u003d\u0027negative\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FzEs%3D","line":89,"updated":"2013-09-19 01:34:08.000000000","message":"To verify we can get the info about the specified host, how about changing here to \"self.assertEqual(hostname, host_resource[\u0027host\u0027])\"?","commit_id":"066980aa242024894affe4fb876ee4504d2861b4"}],"tempest/services/compute/json/hosts_client.py":[{"author":{"_account_id":1192,"name":"David Kranz","email":"dkranz@redhat.com","username":"david-kranz"},"change_message_id":"d6bd4edfd7d1eaf22ec85c063e3f30f4e8d74b8a","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        body \u003d json.loads(body)"},{"line_number":40,"context_line":"        return resp, body[\u0027hosts\u0027]"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    def show_host_detail(self, hostname\u003dNone):"},{"line_number":43,"context_line":"        \"\"\"Show detail information for the host.\"\"\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        resp, body \u003d self.get(\"os-hosts/%s\" % str(hostname))"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2F1HU%3D","line":42,"updated":"2013-09-18 15:35:40.000000000","message":"The hostname should not be optional.","commit_id":"066980aa242024894affe4fb876ee4504d2861b4"}],"tempest/services/compute/xml/hosts_client.py":[{"author":{"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},"change_message_id":"26d4a7e11ce28c36fb43ac23ed9d9e5bdd9c0344","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        resp, body \u003d self.get(\"os-hosts/%s\" % str(hostname), self.headers)"},{"line_number":48,"context_line":"        if resp.status \u003d\u003d 404:"},{"line_number":49,"context_line":"            raise exceptions.NotFound(body)"},{"line_number":50,"context_line":"        node \u003d etree.fromstring(body)"},{"line_number":51,"context_line":"        body \u003d [xml_to_json(x) for x in node.getchildren()]"},{"line_number":52,"context_line":"        return resp, body"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2F1OQ%3D","line":49,"updated":"2013-09-18 15:10:30.000000000","message":"what was the issue the implicitly called https://github.com/openstack/tempest/blob/master/tempest/common/rest_client.py#L407 ?","commit_id":"066980aa242024894affe4fb876ee4504d2861b4"},{"author":{"_account_id":1192,"name":"David Kranz","email":"dkranz@redhat.com","username":"david-kranz"},"change_message_id":"d6bd4edfd7d1eaf22ec85c063e3f30f4e8d74b8a","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        resp, body \u003d self.get(\"os-hosts/%s\" % str(hostname), self.headers)"},{"line_number":48,"context_line":"        if resp.status \u003d\u003d 404:"},{"line_number":49,"context_line":"            raise exceptions.NotFound(body)"},{"line_number":50,"context_line":"        node \u003d etree.fromstring(body)"},{"line_number":51,"context_line":"        body \u003d [xml_to_json(x) for x in node.getchildren()]"},{"line_number":52,"context_line":"        return resp, body"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2F1HI%3D","line":49,"in_reply_to":"AAAAS3%2F%2F1OQ%3D","updated":"2013-09-18 15:35:40.000000000","message":"I\u0027m not sure exactly what you mean but I think a status of 404 would have raised an exception. The same applies to the json version.","commit_id":"066980aa242024894affe4fb876ee4504d2861b4"}]}
