)]}'
{"glance/tests/functional/test_scrubber.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"63fdfc81433b5535c478be447cf211e88e3d8fad","unresolved":false,"context_lines":[{"line_number":35,"context_line":"class TestScrubber(functional.FunctionalTest):"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    \"\"\""},{"line_number":38,"context_line":"    Test that delayed_delete works and the scrubber deletes using Glance V2"},{"line_number":39,"context_line":"    API."},{"line_number":40,"context_line":"    \"\"\""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_b62e58f8","line":39,"range":{"start_line":38,"start_character":4,"end_line":39,"end_character":8},"updated":"2018-03-19 06:05:25.000000000","message":"I guess no need to modify the docstring or else modify it as per standard.\n\nhttps://docs.openstack.org/charm-guide/latest/coding-guidelines.html#docstrings-and-comments","commit_id":"dbb4607bd421c6420dd17b9f2a40d1a184c7eafa"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"756d37e56a22d0613cc7062204652b55e7a70de3","unresolved":false,"context_lines":[{"line_number":35,"context_line":"class TestScrubber(functional.FunctionalTest):"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    \"\"\""},{"line_number":38,"context_line":"    Test that delayed_delete works and the scrubber deletes using Glance V2"},{"line_number":39,"context_line":"    API."},{"line_number":40,"context_line":"    \"\"\""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_61a9d88e","line":39,"range":{"start_line":38,"start_character":4,"end_line":39,"end_character":8},"in_reply_to":"df7087c5_b62e58f8","updated":"2018-03-20 01:11:30.000000000","message":"Done","commit_id":"dbb4607bd421c6420dd17b9f2a40d1a184c7eafa"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"63fdfc81433b5535c478be447cf211e88e3d8fad","unresolved":false,"context_lines":[{"line_number":191,"context_line":"        # delete the image"},{"line_number":192,"context_line":"        response, content \u003d self._send_http_request(path, \u0027DELETE\u0027)"},{"line_number":193,"context_line":"        self.assertEqual(http_client.NO_CONTENT, response.status)"},{"line_number":194,"context_line":"        # ensure the image is marked pending delete."},{"line_number":195,"context_line":"        # In Glance V2, there is no way to get the \u0027pending_delete\u0027 image from"},{"line_number":196,"context_line":"        # API. So we get the image from db here for testing."},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"        # Clean the session cache to avoid connecting to the old db."},{"line_number":199,"context_line":"        db_api.get_api()._FACADE \u003d None"},{"line_number":200,"context_line":"        image \u003d db_api.get_api().image_get(self.admin_context,"},{"line_number":201,"context_line":"                                           image[\u0027id\u0027])"},{"line_number":202,"context_line":"        self.assertEqual(\u0027pending_delete\u0027, image[\u0027status\u0027])"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"        # Remove the file from the backend."},{"line_number":205,"context_line":"        file_path \u003d os.path.join(self.api_server.image_dir, image[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_9660f437","line":202,"range":{"start_line":194,"start_character":8,"end_line":202,"end_character":59},"updated":"2018-03-19 06:05:25.000000000","message":"we can move this to a private method to avoid duplication.","commit_id":"dbb4607bd421c6420dd17b9f2a40d1a184c7eafa"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"756d37e56a22d0613cc7062204652b55e7a70de3","unresolved":false,"context_lines":[{"line_number":191,"context_line":"        # delete the image"},{"line_number":192,"context_line":"        response, content \u003d self._send_http_request(path, \u0027DELETE\u0027)"},{"line_number":193,"context_line":"        self.assertEqual(http_client.NO_CONTENT, response.status)"},{"line_number":194,"context_line":"        # ensure the image is marked pending delete."},{"line_number":195,"context_line":"        # In Glance V2, there is no way to get the \u0027pending_delete\u0027 image from"},{"line_number":196,"context_line":"        # API. So we get the image from db here for testing."},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"        # Clean the session cache to avoid connecting to the old db."},{"line_number":199,"context_line":"        db_api.get_api()._FACADE \u003d None"},{"line_number":200,"context_line":"        image \u003d db_api.get_api().image_get(self.admin_context,"},{"line_number":201,"context_line":"                                           image[\u0027id\u0027])"},{"line_number":202,"context_line":"        self.assertEqual(\u0027pending_delete\u0027, image[\u0027status\u0027])"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"        # Remove the file from the backend."},{"line_number":205,"context_line":"        file_path \u003d os.path.join(self.api_server.image_dir, image[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_61e558dc","line":202,"range":{"start_line":194,"start_character":8,"end_line":202,"end_character":59},"in_reply_to":"df7087c5_9660f437","updated":"2018-03-20 01:11:30.000000000","message":"Done","commit_id":"dbb4607bd421c6420dd17b9f2a40d1a184c7eafa"}]}
