)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":704,"name":"Edgar Magana","email":"emagana@gmail.com","username":"emagana"},"change_message_id":"a8972270e842f5287b63629b6b8892d2761bbe5a","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details of tests removed:"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"The idea here was to remove redundant unit tests."},{"line_number":12,"context_line":"The approach here has been that if the function being tested does not"},{"line_number":13,"context_line":"implement any custom logic (apart from calling ovsdb), the unit test"},{"line_number":14,"context_line":"does not help."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"1a4dcd0f_90da7d16","line":11,"updated":"2015-08-15 01:13:15.000000000","message":"This is too much! Please, move all this into the bug reported!","commit_id":"c6f21bb4a48a31c18bd247d0b6c31bf1980c84fd"}],"neutron/tests/unit/agent/common/test_ovs_lib.py":[{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f2b8290412c738a64d817376a473bc6844902bf0","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        self.br.delete_port(pname)"},{"line_number":165,"context_line":"        self._verify_vsctl_mock(\"--if-exists\", \"del-port\", self.BR_NAME, pname)"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    def test_delete_port(self):"},{"line_number":168,"context_line":"        self._test_delete_port()"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    def test_call_command_non_default_timeput(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_7a1d670e","side":"PARENT","line":167,"updated":"2015-08-10 09:41:23.000000000","message":"is this UT still necessary?","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"4cedc1b03e79b1f71d3876483922586edfaf6b73","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        self.br.delete_port(pname)"},{"line_number":165,"context_line":"        self._verify_vsctl_mock(\"--if-exists\", \"del-port\", self.BR_NAME, pname)"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    def test_delete_port(self):"},{"line_number":168,"context_line":"        self._test_delete_port()"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    def test_call_command_non_default_timeput(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_d3782192","side":"PARENT","line":167,"in_reply_to":"1a4dcd0f_7a1d670e","updated":"2015-08-10 12:15:01.000000000","message":"Done. Also the tests above and below this are not necessary. The test_call_command_non_default_timeput() claims to test timeout, but delete_port() API does not even use this variable in any form. So all three have been removed in the next patch.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f2b8290412c738a64d817376a473bc6844902bf0","unresolved":false,"context_lines":[{"line_number":306,"context_line":"    def test_get_port_ofport_returns_invalid_for_invalid(self):"},{"line_number":307,"context_line":"        self._test_get_port_ofport(ovs_lib.INVALID_OFPORT,"},{"line_number":308,"context_line":"                                   ovs_lib.INVALID_OFPORT)"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"    def test_get_datapath_id(self):"},{"line_number":311,"context_line":"        datapath_id \u003d \u0027\"0000b67f4fbcc149\"\u0027"},{"line_number":312,"context_line":"        self.execute.return_value \u003d self._encode_ovs_json([\u0027datapath_id\u0027],"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_da87db10","side":"PARENT","line":309,"updated":"2015-08-10 09:41:23.000000000","message":"ditto","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"4cedc1b03e79b1f71d3876483922586edfaf6b73","unresolved":false,"context_lines":[{"line_number":306,"context_line":"    def test_get_port_ofport_returns_invalid_for_invalid(self):"},{"line_number":307,"context_line":"        self._test_get_port_ofport(ovs_lib.INVALID_OFPORT,"},{"line_number":308,"context_line":"                                   ovs_lib.INVALID_OFPORT)"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"    def test_get_datapath_id(self):"},{"line_number":311,"context_line":"        datapath_id \u003d \u0027\"0000b67f4fbcc149\"\u0027"},{"line_number":312,"context_line":"        self.execute.return_value \u003d self._encode_ovs_json([\u0027datapath_id\u0027],"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_730eede6","side":"PARENT","line":309,"in_reply_to":"1a4dcd0f_da87db10","updated":"2015-08-10 12:15:01.000000000","message":"Done. Its a direct call to ovsdb. so deserves to be removed. Please review next patch.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f2b8290412c738a64d817376a473bc6844902bf0","unresolved":false,"context_lines":[{"line_number":388,"context_line":"        self.assertRaises(exceptions.InvalidInput,"},{"line_number":389,"context_line":"                          self.br.mod_flow,"},{"line_number":390,"context_line":"                          **params)"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    def test_add_tunnel_port(self):"},{"line_number":393,"context_line":"        pname \u003d \"tap99\""},{"line_number":394,"context_line":"        local_ip \u003d \"1.1.1.1\""}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_ba876fd6","side":"PARENT","line":391,"updated":"2015-08-10 09:41:23.000000000","message":"I don\u0027t understand why you added this test back. It seems to me it only checks that some mock is called with the proper arguments. There\u0027s a functional test that covers this case","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"4cedc1b03e79b1f71d3876483922586edfaf6b73","unresolved":false,"context_lines":[{"line_number":388,"context_line":"        self.assertRaises(exceptions.InvalidInput,"},{"line_number":389,"context_line":"                          self.br.mod_flow,"},{"line_number":390,"context_line":"                          **params)"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    def test_add_tunnel_port(self):"},{"line_number":393,"context_line":"        pname \u003d \"tap99\""},{"line_number":394,"context_line":"        local_ip \u003d \"1.1.1.1\""}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_73aa6d87","side":"PARENT","line":391,"in_reply_to":"1a4dcd0f_ba876fd6","updated":"2015-08-10 12:15:01.000000000","message":"Along with calling add_port, the API \"add_tunnel_port\" also does some input checks. So I thought it can mock only the add_port () call and let the rest of the code be unit_tested which is exactly what the test is trying to do.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f2b8290412c738a64d817376a473bc6844902bf0","unresolved":false,"context_lines":[{"line_number":447,"context_line":"            ofport)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"        tools.verify_mock_calls(self.execute, expected_calls_and_values)"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":"    def test_add_patch_port(self):"},{"line_number":452,"context_line":"        pname \u003d \"tap99\""},{"line_number":453,"context_line":"        peer \u003d \"bar10\""}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_1a778303","side":"PARENT","line":450,"updated":"2015-08-10 09:41:23.000000000","message":"ditto","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"4cedc1b03e79b1f71d3876483922586edfaf6b73","unresolved":false,"context_lines":[{"line_number":447,"context_line":"            ofport)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"        tools.verify_mock_calls(self.execute, expected_calls_and_values)"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":"    def test_add_patch_port(self):"},{"line_number":452,"context_line":"        pname \u003d \"tap99\""},{"line_number":453,"context_line":"        peer \u003d \"bar10\""}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_33a385a0","side":"PARENT","line":450,"in_reply_to":"1a4dcd0f_1a778303","updated":"2015-08-10 12:15:01.000000000","message":"Done. add_patch_port just passes the arguments as is with no checks. It may be removed. Please review next patch.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f2b8290412c738a64d817376a473bc6844902bf0","unresolved":false,"context_lines":[{"line_number":690,"context_line":"        self.execute.return_value \u003d \u0027br-int\\\\nbr-ex\\n\u0027"},{"line_number":691,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"},{"line_number":692,"context_line":"        self._verify_vsctl_mock(\"list-br\")"},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"    def test_get_bridges(self):"},{"line_number":695,"context_line":"        self._test_get_bridges()"},{"line_number":696,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_baba0f6d","side":"PARENT","line":693,"updated":"2015-08-10 09:41:23.000000000","message":"is this still needed?","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"4cedc1b03e79b1f71d3876483922586edfaf6b73","unresolved":false,"context_lines":[{"line_number":690,"context_line":"        self.execute.return_value \u003d \u0027br-int\\\\nbr-ex\\n\u0027"},{"line_number":691,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"},{"line_number":692,"context_line":"        self._verify_vsctl_mock(\"list-br\")"},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"    def test_get_bridges(self):"},{"line_number":695,"context_line":"        self._test_get_bridges()"},{"line_number":696,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_13c1a92e","side":"PARENT","line":693,"in_reply_to":"1a4dcd0f_baba0f6d","updated":"2015-08-10 12:15:01.000000000","message":"Done. Not required. Also the tests above and below this one are removed as they replicate similar test. Please review next patch.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"3d96245d9530e30713b5f070e9c3159968490237","unresolved":false,"context_lines":[{"line_number":306,"context_line":"    def test_get_port_ofport_returns_invalid_for_invalid(self):"},{"line_number":307,"context_line":"        self._test_get_port_ofport(ovs_lib.INVALID_OFPORT,"},{"line_number":308,"context_line":"                                   ovs_lib.INVALID_OFPORT)"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"    def test_get_datapath_id(self):"},{"line_number":311,"context_line":"        datapath_id \u003d \u0027\"0000b67f4fbcc149\"\u0027"},{"line_number":312,"context_line":"        self.execute.return_value \u003d self._encode_ovs_json([\u0027datapath_id\u0027],"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_69dcbe46","side":"PARENT","line":309,"updated":"2015-08-10 12:37:54.000000000","message":"this seems redundant too","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"8a73181c219f25e36e720f21fdb01581d09a1c08","unresolved":false,"context_lines":[{"line_number":306,"context_line":"    def test_get_port_ofport_returns_invalid_for_invalid(self):"},{"line_number":307,"context_line":"        self._test_get_port_ofport(ovs_lib.INVALID_OFPORT,"},{"line_number":308,"context_line":"                                   ovs_lib.INVALID_OFPORT)"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"    def test_get_datapath_id(self):"},{"line_number":311,"context_line":"        datapath_id \u003d \u0027\"0000b67f4fbcc149\"\u0027"},{"line_number":312,"context_line":"        self.execute.return_value \u003d self._encode_ovs_json([\u0027datapath_id\u0027],"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_df6b4084","side":"PARENT","line":309,"in_reply_to":"1a4dcd0f_69dcbe46","updated":"2015-08-10 13:21:12.000000000","message":"Done. Please review next patch","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"3d96245d9530e30713b5f070e9c3159968490237","unresolved":false,"context_lines":[{"line_number":388,"context_line":"        self.assertRaises(exceptions.InvalidInput,"},{"line_number":389,"context_line":"                          self.br.mod_flow,"},{"line_number":390,"context_line":"                          **params)"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    def test_add_tunnel_port(self):"},{"line_number":393,"context_line":"        pname \u003d \"tap99\""},{"line_number":394,"context_line":"        local_ip \u003d \"1.1.1.1\""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_a962c614","side":"PARENT","line":391,"updated":"2015-08-10 12:37:54.000000000","message":"I see that this unit test checks that dst_port is not added to the attributes if vxlan_uses_custom_udp_port is false. If we find a way to check that in the functional tests we can remove this one","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"8a73181c219f25e36e720f21fdb01581d09a1c08","unresolved":false,"context_lines":[{"line_number":388,"context_line":"        self.assertRaises(exceptions.InvalidInput,"},{"line_number":389,"context_line":"                          self.br.mod_flow,"},{"line_number":390,"context_line":"                          **params)"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    def test_add_tunnel_port(self):"},{"line_number":393,"context_line":"        pname \u003d \"tap99\""},{"line_number":394,"context_line":"        local_ip \u003d \"1.1.1.1\""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_ff515cd9","side":"PARENT","line":391,"in_reply_to":"1a4dcd0f_a962c614","updated":"2015-08-10 13:21:12.000000000","message":"Having this in unit-test, I feel will help better coverage.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"3d96245d9530e30713b5f070e9c3159968490237","unresolved":false,"context_lines":[{"line_number":694,"context_line":"    def test_get_bridges(self):"},{"line_number":695,"context_line":"        self._test_get_bridges()"},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"    def test_get_bridges_not_default_timeout(self):"},{"line_number":698,"context_line":"        self._test_get_bridges(5)"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"    def test_get_local_port_mac_succeeds(self):"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_2996b694","side":"PARENT","line":697,"updated":"2015-08-10 12:37:54.000000000","message":"timeout is used in this case","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"8a73181c219f25e36e720f21fdb01581d09a1c08","unresolved":false,"context_lines":[{"line_number":694,"context_line":"    def test_get_bridges(self):"},{"line_number":695,"context_line":"        self._test_get_bridges()"},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"    def test_get_bridges_not_default_timeout(self):"},{"line_number":698,"context_line":"        self._test_get_bridges(5)"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"    def test_get_local_port_mac_succeeds(self):"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_ffe39c31","side":"PARENT","line":697,"in_reply_to":"1a4dcd0f_2996b694","updated":"2015-08-10 13:21:12.000000000","message":"The timeout value is not passed further to get_bridges() call. No use of timeout value in ovs_lib.py in get_bridges()","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"3d96245d9530e30713b5f070e9c3159968490237","unresolved":false,"context_lines":[{"line_number":707,"context_line":"                        return_value\u003dmock.Mock(address\u003dNone)):"},{"line_number":708,"context_line":"            with testtools.ExpectedException(Exception):"},{"line_number":709,"context_line":"                self.br.get_local_port_mac()"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def test_get_vifs_by_ids(self):"},{"line_number":712,"context_line":"        db_list_res \u003d ["},{"line_number":713,"context_line":"            {\u0027name\u0027: \u0027qvo1\u0027, \u0027ofport\u0027: 1,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_294b162d","side":"PARENT","line":710,"updated":"2015-08-10 12:37:54.000000000","message":"there\u0027s a functional test for this too","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"8a73181c219f25e36e720f21fdb01581d09a1c08","unresolved":false,"context_lines":[{"line_number":707,"context_line":"                        return_value\u003dmock.Mock(address\u003dNone)):"},{"line_number":708,"context_line":"            with testtools.ExpectedException(Exception):"},{"line_number":709,"context_line":"                self.br.get_local_port_mac()"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def test_get_vifs_by_ids(self):"},{"line_number":712,"context_line":"        db_list_res \u003d ["},{"line_number":713,"context_line":"            {\u0027name\u0027: \u0027qvo1\u0027, \u0027ofport\u0027: 1,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_9f3618b3","side":"PARENT","line":710,"in_reply_to":"1a4dcd0f_294b162d","updated":"2015-08-10 13:21:12.000000000","message":"There are multiple paths in the implementation of get_vifs_by_ids(). So, I feel unit-test can ensure better coverage.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"a5a759a661da15d520c6db329cb9f428b1002c9f","unresolved":false,"context_lines":[{"line_number":686,"context_line":"    def _test_get_bridges(self, exp_timeout\u003dNone):"},{"line_number":687,"context_line":"        bridges \u003d [\u0027br-int\u0027, \u0027br-ex\u0027]"},{"line_number":688,"context_line":"        if exp_timeout:"},{"line_number":689,"context_line":"            self.br.vsctl_timeout \u003d exp_timeout"},{"line_number":690,"context_line":"        self.execute.return_value \u003d \u0027br-int\\\\nbr-ex\\n\u0027"},{"line_number":691,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"},{"line_number":692,"context_line":"        self._verify_vsctl_mock(\"list-br\")"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a4dcd0f_d1553450","side":"PARENT","line":689,"updated":"2015-08-11 14:07:34.000000000","message":"this timeout is used, have a look at neutron/agent/ovsdb/impl_vsctl.py class BaseCommand, execute method for the vsctl implementation or to eutron/agent/ovsdb/impl_vsctl.py OvsdbIdl for the idl implementation","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"caffd08750b1cd89d26ed6e5d65c96d0aca028fa","unresolved":false,"context_lines":[{"line_number":686,"context_line":"    def _test_get_bridges(self, exp_timeout\u003dNone):"},{"line_number":687,"context_line":"        bridges \u003d [\u0027br-int\u0027, \u0027br-ex\u0027]"},{"line_number":688,"context_line":"        if exp_timeout:"},{"line_number":689,"context_line":"            self.br.vsctl_timeout \u003d exp_timeout"},{"line_number":690,"context_line":"        self.execute.return_value \u003d \u0027br-int\\\\nbr-ex\\n\u0027"},{"line_number":691,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"},{"line_number":692,"context_line":"        self._verify_vsctl_mock(\"list-br\")"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a4dcd0f_1495c585","side":"PARENT","line":689,"in_reply_to":"1a4dcd0f_d1553450","updated":"2015-08-11 15:15:06.000000000","message":"Done. Please refer the next patch.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"da8812f298b380b1463402b5e72cf8a3c31b95b4","unresolved":false,"context_lines":[{"line_number":446,"context_line":"                                    dont_fragment),"},{"line_number":447,"context_line":"            ofport)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"        tools.verify_mock_calls(self.execute, expected_calls_and_values)"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":"    def test_add_patch_port(self):"},{"line_number":452,"context_line":"        pname \u003d \"tap99\""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_51fa0976","side":"PARENT","line":449,"updated":"2015-08-13 15:28:12.000000000","message":"this line shouldn\u0027t be removed","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"1de17a4758be97df871315f443a7b03fbda063f8","unresolved":false,"context_lines":[{"line_number":446,"context_line":"                                    dont_fragment),"},{"line_number":447,"context_line":"            ofport)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"        tools.verify_mock_calls(self.execute, expected_calls_and_values)"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":"    def test_add_patch_port(self):"},{"line_number":452,"context_line":"        pname \u003d \"tap99\""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_c574f237","side":"PARENT","line":449,"in_reply_to":"1a4dcd0f_51fa0976","updated":"2015-08-14 08:32:34.000000000","message":"Its not removed. It has just moved to the beginning of the next section.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"da8812f298b380b1463402b5e72cf8a3c31b95b4","unresolved":false,"context_lines":[{"line_number":691,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"},{"line_number":692,"context_line":"        self._verify_vsctl_mock(\"list-br\")"},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"    def test_get_bridges(self):"},{"line_number":695,"context_line":"        self._test_get_bridges()"},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"    def test_get_bridges_not_default_timeout(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_91ce512b","side":"PARENT","line":694,"updated":"2015-08-13 15:28:12.000000000","message":"since you are removing this test, there\u0027s no point in having an helper method (_test_get_bridges) anymore. You can refactor and include lines 687-692 directly in test_get_bridges_not_default_timeout.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"1de17a4758be97df871315f443a7b03fbda063f8","unresolved":false,"context_lines":[{"line_number":691,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"},{"line_number":692,"context_line":"        self._verify_vsctl_mock(\"list-br\")"},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"    def test_get_bridges(self):"},{"line_number":695,"context_line":"        self._test_get_bridges()"},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"    def test_get_bridges_not_default_timeout(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_855eea77","side":"PARENT","line":694,"in_reply_to":"1a4dcd0f_91ce512b","updated":"2015-08-14 08:32:34.000000000","message":"Done. Yes it looks better.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"86a110883a3d253e031dc2cca64b9f9cb3de5b94","unresolved":false,"context_lines":[{"line_number":446,"context_line":"                                    dont_fragment),"},{"line_number":447,"context_line":"            ofport)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"        tools.verify_mock_calls(self.execute, expected_calls_and_values)"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":"    def test_add_patch_port(self):"},{"line_number":452,"context_line":"        pname \u003d \"tap99\""}],"source_content_type":"text/x-python","patch_set":8,"id":"1a4dcd0f_f17c42ed","side":"PARENT","line":449,"updated":"2015-08-14 13:15:10.000000000","message":"Why has this line been removed?","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"be2c44609e36d98904c779dfb1469b92f3b0e626","unresolved":false,"context_lines":[{"line_number":446,"context_line":"                                    dont_fragment),"},{"line_number":447,"context_line":"            ofport)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"        tools.verify_mock_calls(self.execute, expected_calls_and_values)"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":"    def test_add_patch_port(self):"},{"line_number":452,"context_line":"        pname \u003d \"tap99\""}],"source_content_type":"text/x-python","patch_set":8,"id":"1a4dcd0f_34ee18b5","side":"PARENT","line":449,"in_reply_to":"1a4dcd0f_f17c42ed","updated":"2015-08-14 13:43:34.000000000","message":"This line is not removed. Please see the line below this section. The problem is with the way the diff tool has arranged it.","commit_id":"42e9585494a2db6eca6a53093e3e269d1a95f91c"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"86a110883a3d253e031dc2cca64b9f9cb3de5b94","unresolved":false,"context_lines":[{"line_number":594,"context_line":""},{"line_number":595,"context_line":"    def test_get_bridges_not_default_timeout(self, exp_timeout\u003d5):"},{"line_number":596,"context_line":"        bridges \u003d [\u0027br-int\u0027, \u0027br-ex\u0027]"},{"line_number":597,"context_line":"        if exp_timeout:"},{"line_number":598,"context_line":"            self.br.vsctl_timeout \u003d exp_timeout"},{"line_number":599,"context_line":"        self.execute.return_value \u003d \u0027br-int\\\\nbr-ex\\n\u0027"},{"line_number":600,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"}],"source_content_type":"text/x-python","patch_set":8,"id":"1a4dcd0f_141c3c69","line":597,"updated":"2015-08-14 13:15:10.000000000","message":"I guess this condition can be removed if the timeout is being hard coded.","commit_id":"0b3d957cd0bb42b01a31fa672b7a1fca96d0e3e8"},{"author":{"_account_id":9285,"name":"Madhu Mohan","email":"mmnelemane@suse.com","username":"snmohan83"},"change_message_id":"be2c44609e36d98904c779dfb1469b92f3b0e626","unresolved":false,"context_lines":[{"line_number":594,"context_line":""},{"line_number":595,"context_line":"    def test_get_bridges_not_default_timeout(self, exp_timeout\u003d5):"},{"line_number":596,"context_line":"        bridges \u003d [\u0027br-int\u0027, \u0027br-ex\u0027]"},{"line_number":597,"context_line":"        if exp_timeout:"},{"line_number":598,"context_line":"            self.br.vsctl_timeout \u003d exp_timeout"},{"line_number":599,"context_line":"        self.execute.return_value \u003d \u0027br-int\\\\nbr-ex\\n\u0027"},{"line_number":600,"context_line":"        self.assertEqual(self.br.get_bridges(), bridges)"}],"source_content_type":"text/x-python","patch_set":8,"id":"1a4dcd0f_574ac628","line":597,"in_reply_to":"1a4dcd0f_141c3c69","updated":"2015-08-14 13:43:34.000000000","message":"Done. Please check next patch.","commit_id":"0b3d957cd0bb42b01a31fa672b7a1fca96d0e3e8"}]}
