)]}'
{"tempest/api/volume/test_volumes_negative.py":[{"author":{"_account_id":1921,"name":"Andrea Frittoli","email":"andrea.frittoli@gmail.com","username":"andrea-frittoli"},"change_message_id":"2602ba7942acded035133c62c5173654d72b41a6","unresolved":false,"context_lines":[{"line_number":295,"context_line":"    @test.services(\u0027image\u0027)"},{"line_number":296,"context_line":"    def test_create_volume_from_image_with_decreasing_size(self):"},{"line_number":297,"context_line":"        # Create image"},{"line_number":298,"context_line":"        image \u003d self.create_image()"},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"        # Note(jeremyZ): To shorten the test time (uploading a big size image"},{"line_number":301,"context_line":"        # is time-consuming), here just consider the scenario that volume size"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_e5a2654b","line":298,"range":{"start_line":298,"start_character":21,"end_line":298,"end_character":33},"updated":"2017-04-26 10:45:51.000000000","message":"NIT: this create an image with the config side +1, so perhaps the method name should reflect that.","commit_id":"13736ae792fa5283e23d4bc950f652e6d92dde78"},{"author":{"_account_id":1921,"name":"Andrea Frittoli","email":"andrea.frittoli@gmail.com","username":"andrea-frittoli"},"change_message_id":"2602ba7942acded035133c62c5173654d72b41a6","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        body \u003d self.images_client.show_image(image[\u0027id\u0027])"},{"line_number":318,"context_line":"        self.assertEqual(\"deactivated\", body[\u0027status\u0027])"},{"line_number":319,"context_line":"        # Try creating a volume from deactivated image"},{"line_number":320,"context_line":"        self.assertRaises(lib_exc.BadRequest,"},{"line_number":321,"context_line":"                          self.create_volume,"},{"line_number":322,"context_line":"                          imageRef\u003dimage[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_4596b9f2","line":322,"range":{"start_line":320,"start_character":0,"end_line":322,"end_character":47},"updated":"2017-04-26 10:45:51.000000000","message":"Worth nothing that create_volume will automatically match the min_disk provided by the image, so the BadRequest does not come from a bad size.","commit_id":"13736ae792fa5283e23d4bc950f652e6d92dde78"}]}
