)]}'
{"tempest/api/image/v2/test_images_metadefs_namespace_properties.py":[{"author":{"_account_id":30746,"name":"Travis Neely","email":"travis.neely@att.com","username":"travis.neely@att.com"},"change_message_id":"15e86c50c6fce904afe474db473aaa51d40abe5c","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    def test_basic_meta_def_namespace_property(self):"},{"line_number":23,"context_line":"        # Get the available resource types and use one resource_type"},{"line_number":24,"context_line":"        body \u003d self.resource_types_client.list_resource_types()"},{"line_number":25,"context_line":"        resource_types \u003d body[\u0027resource_types\u0027]"},{"line_number":26,"context_line":"        if (resource_types \u003d\u003d []):"},{"line_number":27,"context_line":"            raise self.skipTest(\u0027No metadata resource_type defined, skipping glance test\u0027)"},{"line_number":28,"context_line":"        resource_name \u003d body[\u0027resource_types\u0027][0][\u0027name\u0027]"},{"line_number":29,"context_line":"        enum \u003d [\"xen\", \"qemu\", \"kvm\", \"lxc\", \"uml\", \"vmware\", \"hyperv\"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"7faddb67_99848bb3","line":26,"range":{"start_line":25,"start_character":8,"end_line":26,"end_character":34},"updated":"2019-07-23 20:22:16.000000000","message":"Could this could be simplified to:\n\nif (body[\u0027resource_types\u0027] \u003d\u003d []):","commit_id":"814e44d8569eb38ea5ae4c87e1aa472a6e6d3526"},{"author":{"_account_id":30666,"name":"Soumya Purohit","email":"sp545d@att.com","username":"soumyapurohit"},"change_message_id":"dbbc766250e05cde95d82fb19526cbaf673de36b","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    def test_basic_meta_def_namespace_property(self):"},{"line_number":23,"context_line":"        # Get the available resource types and use one resource_type"},{"line_number":24,"context_line":"        body \u003d self.resource_types_client.list_resource_types()"},{"line_number":25,"context_line":"        resource_types \u003d body[\u0027resource_types\u0027]"},{"line_number":26,"context_line":"        if (resource_types \u003d\u003d []):"},{"line_number":27,"context_line":"            raise self.skipTest(\u0027No metadata resource_type defined, skipping glance test\u0027)"},{"line_number":28,"context_line":"        resource_name \u003d body[\u0027resource_types\u0027][0][\u0027name\u0027]"},{"line_number":29,"context_line":"        enum \u003d [\"xen\", \"qemu\", \"kvm\", \"lxc\", \"uml\", \"vmware\", \"hyperv\"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"7faddb67_44c4e640","line":26,"range":{"start_line":25,"start_character":8,"end_line":26,"end_character":34},"in_reply_to":"7faddb67_99848bb3","updated":"2019-07-24 19:53:57.000000000","message":"Yes, thanks for your suggestion!","commit_id":"814e44d8569eb38ea5ae4c87e1aa472a6e6d3526"},{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"33e18f95ac6b99bbb416f0f1036b8f44207597f3","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    def test_basic_meta_def_namespace_property(self):"},{"line_number":23,"context_line":"        # Get the available resource types and use one resource_type"},{"line_number":24,"context_line":"        body \u003d self.resource_types_client.list_resource_types()"},{"line_number":25,"context_line":"        if (body[\u0027resource_types\u0027] \u003d\u003d []):"},{"line_number":26,"context_line":"           raise self.skipTest("},{"line_number":27,"context_line":"                \u0027No metadata resource_type defined, skipping glance test\u0027)"},{"line_number":28,"context_line":"        resource_name \u003d body[\u0027resource_types\u0027][0][\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":5,"id":"7faddb67_94f1ad04","line":25,"range":{"start_line":25,"start_character":12,"end_line":25,"end_character":40},"updated":"2019-07-23 23:29:14.000000000","message":"The pythonic way of checking for list emptiness is:\n\n    not body[\u0027resource_types\u0027]","commit_id":"bef7594588f6e4d2e5dbc272d7ceefa9b473402d"},{"author":{"_account_id":30666,"name":"Soumya Purohit","email":"sp545d@att.com","username":"soumyapurohit"},"change_message_id":"dbbc766250e05cde95d82fb19526cbaf673de36b","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    def test_basic_meta_def_namespace_property(self):"},{"line_number":23,"context_line":"        # Get the available resource types and use one resource_type"},{"line_number":24,"context_line":"        body \u003d self.resource_types_client.list_resource_types()"},{"line_number":25,"context_line":"        if (body[\u0027resource_types\u0027] \u003d\u003d []):"},{"line_number":26,"context_line":"           raise self.skipTest("},{"line_number":27,"context_line":"                \u0027No metadata resource_type defined, skipping glance test\u0027)"},{"line_number":28,"context_line":"        resource_name \u003d body[\u0027resource_types\u0027][0][\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":5,"id":"7faddb67_180400c6","line":25,"range":{"start_line":25,"start_character":12,"end_line":25,"end_character":40},"in_reply_to":"7faddb67_94f1ad04","updated":"2019-07-24 19:53:57.000000000","message":"Thanks for your suggestion!","commit_id":"bef7594588f6e4d2e5dbc272d7ceefa9b473402d"}],"tempest/api/image/v2/test_images_metadefs_namespaces.py":[{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"33e18f95ac6b99bbb416f0f1036b8f44207597f3","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    def test_basic_metadata_definition_namespaces(self):"},{"line_number":28,"context_line":"        # get the available resource types and use one resource_type"},{"line_number":29,"context_line":"        body \u003d self.resource_types_client.list_resource_types()"},{"line_number":30,"context_line":"        if (body[\u0027resource_types\u0027] \u003d\u003d []):"},{"line_number":31,"context_line":"           raise self.skipTest("},{"line_number":32,"context_line":"                \u0027No metadata resource_type defined, skipping glance test\u0027)"},{"line_number":33,"context_line":"        resource_name \u003d body[\u0027resource_types\u0027][0][\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":5,"id":"7faddb67_f4d58144","line":30,"updated":"2019-07-23 23:29:14.000000000","message":"Ditto","commit_id":"bef7594588f6e4d2e5dbc272d7ceefa9b473402d"}],"tempest/api/image/v2/test_images_metadefs_resource_types.py":[{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"33e18f95ac6b99bbb416f0f1036b8f44207597f3","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    def test_basic_meta_def_resource_type_association(self):"},{"line_number":25,"context_line":"        # Get the available resource types and use one resource_type"},{"line_number":26,"context_line":"        body \u003d self.resource_types_client.list_resource_types()"},{"line_number":27,"context_line":"        if (body[\u0027resource_types\u0027] \u003d\u003d []):"},{"line_number":28,"context_line":"           raise self.skipTest("},{"line_number":29,"context_line":"                \u0027No metadata resource_type defined, skipping glance test\u0027)"},{"line_number":30,"context_line":"        resource_name \u003d body[\u0027resource_types\u0027][0][\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":5,"id":"7faddb67_94ca0d9f","line":27,"updated":"2019-07-23 23:29:14.000000000","message":"Ditto","commit_id":"bef7594588f6e4d2e5dbc272d7ceefa9b473402d"}]}
