)]}'
{"cinder/tests/unit/test_hp3par.py":[{"author":{"_account_id":16917,"name":"Alex O\u0027Rourke","email":"alex.orourke@hpe.com","username":"aorourke"},"change_message_id":"16feed05d4fa1d918d9d0554cd888ab95febf7e9","unresolved":false,"context_lines":[{"line_number":2691,"context_line":"    def test_manage_existing_no_volume_type(self):"},{"line_number":2692,"context_line":"        mock_client \u003d self.setup_driver()"},{"line_number":2693,"context_line":""},{"line_number":2694,"context_line":"        comment \u003d repr({\"display_name\": \"Foo Volume\"})"},{"line_number":2695,"context_line":"        new_comment \u003d Comment({"},{"line_number":2696,"context_line":"            \"type\": \"OpenStack\","},{"line_number":2697,"context_line":"            \"display_name\": \"Foo Volume\","}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_16dddc6e","line":2694,"updated":"2015-11-06 00:50:10.000000000","message":"Why use repr in place of Comment?","commit_id":"a5f04365f413cdd8bf13b9fd2a60fe7fe84fd061"},{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"f88b2bfa71f9ebf74baaca8c5e76bb8d56dcf23d","unresolved":false,"context_lines":[{"line_number":2691,"context_line":"    def test_manage_existing_no_volume_type(self):"},{"line_number":2692,"context_line":"        mock_client \u003d self.setup_driver()"},{"line_number":2693,"context_line":""},{"line_number":2694,"context_line":"        comment \u003d repr({\"display_name\": \"Foo Volume\"})"},{"line_number":2695,"context_line":"        new_comment \u003d Comment({"},{"line_number":2696,"context_line":"            \"type\": \"OpenStack\","},{"line_number":2697,"context_line":"            \"display_name\": \"Foo Volume\","}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_8a7f4d65","line":2694,"in_reply_to":"fa80f949_16dddc6e","updated":"2015-11-06 11:17:47.000000000","message":"Here, comment is used as *input* (mock_client.getVolume.return_value), so its type must be str. Whereas new_comment is used to check the *output* (check which functions have been called, mock_client.assert_has_calls(...) below). There are only two places in the whole file where comments are used as input, here and below.","commit_id":"a5f04365f413cdd8bf13b9fd2a60fe7fe84fd061"},{"author":{"_account_id":16917,"name":"Alex O\u0027Rourke","email":"alex.orourke@hpe.com","username":"aorourke"},"change_message_id":"16feed05d4fa1d918d9d0554cd888ab95febf7e9","unresolved":false,"context_lines":[{"line_number":2808,"context_line":"    def test_manage_existing_volume_type_exception(self):"},{"line_number":2809,"context_line":"        mock_client \u003d self.setup_driver()"},{"line_number":2810,"context_line":""},{"line_number":2811,"context_line":"        comment \u003d repr({\"display_name\": \"Foo Volume\"})"},{"line_number":2812,"context_line":"        volume \u003d {\u0027display_name\u0027: None,"},{"line_number":2813,"context_line":"                  \u0027volume_type\u0027: \u0027gold\u0027,"},{"line_number":2814,"context_line":"                  \u0027volume_type_id\u0027: \u0027bcfa9fa4-54a0-4340-a3d8-bfcf19aea65e\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_36f10002","line":2811,"updated":"2015-11-06 00:50:10.000000000","message":"Why use repr in place of Comment?","commit_id":"a5f04365f413cdd8bf13b9fd2a60fe7fe84fd061"},{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"f88b2bfa71f9ebf74baaca8c5e76bb8d56dcf23d","unresolved":false,"context_lines":[{"line_number":2808,"context_line":"    def test_manage_existing_volume_type_exception(self):"},{"line_number":2809,"context_line":"        mock_client \u003d self.setup_driver()"},{"line_number":2810,"context_line":""},{"line_number":2811,"context_line":"        comment \u003d repr({\"display_name\": \"Foo Volume\"})"},{"line_number":2812,"context_line":"        volume \u003d {\u0027display_name\u0027: None,"},{"line_number":2813,"context_line":"                  \u0027volume_type\u0027: \u0027gold\u0027,"},{"line_number":2814,"context_line":"                  \u0027volume_type_id\u0027: \u0027bcfa9fa4-54a0-4340-a3d8-bfcf19aea65e\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa80f949_2ac74197","line":2811,"in_reply_to":"fa80f949_36f10002","updated":"2015-11-06 11:17:47.000000000","message":"Ditto","commit_id":"a5f04365f413cdd8bf13b9fd2a60fe7fe84fd061"}]}
