)]}'
{"tempest/api/image/v2/test_images.py":[{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"87d89cbae18bf239766b1938c5605fd94b30a875","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"        # Verifying deletion"},{"line_number":88,"context_line":"        _, images \u003d self.client.image_list()"},{"line_number":89,"context_line":"        self.assertNotEqual(image_id, images[0].get(\u0027id\u0027))"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    @test.attr(type\u003d\u0027gate\u0027)"},{"line_number":92,"context_line":"    def test_update_image(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_680a8428","line":89,"updated":"2014-07-24 06:04:17.000000000","message":"How its make sure that, images[0] is expected as image which was deleted. can you check what images and _ contains and take a call. Thanks","commit_id":"b6f99c2aae82afb70ace809c9a66db86ed6ea9e7"},{"author":{"_account_id":12585,"name":"Sunil G","email":"sunil.07g@gmail.com","username":"gsunil"},"change_message_id":"cba9e7999bd44ddc80377c05c9dcab960590b512","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"        # Verifying deletion"},{"line_number":88,"context_line":"        _, images \u003d self.client.image_list()"},{"line_number":89,"context_line":"        self.assertNotEqual(image_id, images[0].get(\u0027id\u0027))"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    @test.attr(type\u003d\u0027gate\u0027)"},{"line_number":92,"context_line":"    def test_update_image(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_8eab6174","line":89,"in_reply_to":"baada198_680a8428","updated":"2014-07-24 06:24:30.000000000","message":"Hi Kanagaraj, I commented delete image code to see where the image was listed in the images list. After verification i came to know, whenever i added that image, it will be listed at the top of the images list. So i am doing assertion check on the first image in the image list.","commit_id":"b6f99c2aae82afb70ace809c9a66db86ed6ea9e7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"cced31bfdadecdd5ad5acd0ec014fa135790773b","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"        # Verifying deletion"},{"line_number":88,"context_line":"        _, images \u003d self.client.image_list()"},{"line_number":89,"context_line":"        self.assertNotEqual(image_id, images[0].get(\u0027id\u0027))"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    @test.attr(type\u003d\u0027gate\u0027)"},{"line_number":92,"context_line":"    def test_update_image(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_0e59118e","line":89,"in_reply_to":"baada198_8eab6174","updated":"2014-07-24 06:28:38.000000000","message":"But its not appropriate one. you are making the dependency of the behavioiur of glance api which may not be consistent all the time. please search for assert method which could check for the entry in a list.","commit_id":"b6f99c2aae82afb70ace809c9a66db86ed6ea9e7"},{"author":{"_account_id":11599,"name":"Nikunj Aggarwal","email":"nikunj.aggarwal@hp.com","username":"nikunj2512"},"change_message_id":"f0308d47e29593a2c631f29858943f67da49cfc8","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        # Verifying deletion"},{"line_number":88,"context_line":"        _, images \u003d self.client.image_list()"},{"line_number":89,"context_line":"        self.assertNotEqual(image_id, images[0].get(\u0027id\u0027))"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    @test.attr(type\u003d\u0027gate\u0027)"},{"line_number":92,"context_line":"    def test_update_image(self):"},{"line_number":93,"context_line":"        # Updates an image by image_id"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_ee2dbd46","line":90,"updated":"2014-07-24 06:15:18.000000000","message":"@Kanagaraj I was also going to point out the same issue. :)","commit_id":"b6f99c2aae82afb70ace809c9a66db86ed6ea9e7"}]}
