)]}'
{"neutron/tests/functional/services/portforwarding/test_port_forwarding.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"8f079ddd4ae1a999ca004871d6d4cda010197ef5","unresolved":false,"context_lines":[{"line_number":116,"context_line":"            \u0027floatingip_id\u0027: self.fip[\u0027id\u0027]}"},{"line_number":117,"context_line":"        self.assertEqual(expect, res)"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    def test_create_floatingip_port_forwarding_external_port_0(self):"},{"line_number":120,"context_line":"        self.port_forwarding[apidef.RESOURCE_NAME][apidef.EXTERNAL_PORT] \u003d 0"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        self.assertRaises(ValueError,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_0ed5c619","line":119,"updated":"2018-10-30 10:20:18.000000000","message":"As commented in the neutron-lib patch [1], this is already cover in the object itself. An internal/external port can\u0027t be \u00270\u0027 because this field is common_types.PortRangeField(nullable\u003dFalse), valid between 1 and 64K. I don\u0027t see the need to this test.\n\n\n[1] https://review.openstack.org/#/c/613562","commit_id":"a6c999fd0512c065d3cedeae0aeb636029a7a688"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"6fb093af257992fa65d1277ec15697cea8f2491b","unresolved":false,"context_lines":[{"line_number":116,"context_line":"            \u0027floatingip_id\u0027: self.fip[\u0027id\u0027]}"},{"line_number":117,"context_line":"        self.assertEqual(expect, res)"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    def test_create_floatingip_port_forwarding_external_port_0(self):"},{"line_number":120,"context_line":"        self.port_forwarding[apidef.RESOURCE_NAME][apidef.EXTERNAL_PORT] \u003d 0"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        self.assertRaises(ValueError,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_d4367c51","line":119,"in_reply_to":"3f79a3b5_0ed5c619","updated":"2018-10-30 11:27:12.000000000","message":"0 should not be one valid input from the begining, aka API. This is inconsistent between API and object.","commit_id":"a6c999fd0512c065d3cedeae0aeb636029a7a688"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"b3171a36977949975b314d6d6ade9b4bfd7cbb9c","unresolved":false,"context_lines":[{"line_number":116,"context_line":"            \u0027floatingip_id\u0027: self.fip[\u0027id\u0027]}"},{"line_number":117,"context_line":"        self.assertEqual(expect, res)"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    def test_create_floatingip_port_forwarding_external_port_0(self):"},{"line_number":120,"context_line":"        self.port_forwarding[apidef.RESOURCE_NAME][apidef.EXTERNAL_PORT] \u003d 0"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        self.assertRaises(ValueError,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_28543356","line":119,"in_reply_to":"3f79a3b5_0ed5c619","updated":"2018-10-30 14:27:18.000000000","message":"Furthermore, this can ensure that no changing on the port forwarding DB external/internal PortRangeFiled: input 0 should raise the exception.","commit_id":"a6c999fd0512c065d3cedeae0aeb636029a7a688"}]}
