)]}'
{"nova/tests/functional/api_sample_tests/test_networks.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"d9d953832ea466d28fe330420b358cae2429a617","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        response \u003d self._do_get(\u0027os-networks/%s\u0027 % uuid)"},{"line_number":74,"context_line":"        self.assertEqual(401, response.status_code)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    @mock.patch(\u0027nova.network.api.API.create\u0027,"},{"line_number":77,"context_line":"                side_effect\u003dexception.Forbidden)"},{"line_number":78,"context_line":"    def test_network_create_forbidden(self, mock_create):"},{"line_number":79,"context_line":"        response \u003d self._do_post(\"os-networks\","}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_dda9627d","line":76,"updated":"2016-07-22 21:17:06.000000000","message":"This is actually nova-network, so it\u0027s a bit odd for this test case. Maybe use nova.tests.fixtures.NeutronFixture instead?","commit_id":"e4311c6bfa138f11362c4f025a802f849dc91a6b"},{"author":{"_account_id":4428,"name":"Liyingjun","email":"yinjalee@163.com","username":"liyingjun"},"change_message_id":"b2834d5aa5c28f54b285bfe93b865064a0bc460c","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        response \u003d self._do_get(\u0027os-networks/%s\u0027 % uuid)"},{"line_number":74,"context_line":"        self.assertEqual(401, response.status_code)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    @mock.patch(\u0027nova.network.api.API.create\u0027,"},{"line_number":77,"context_line":"                side_effect\u003dexception.Forbidden)"},{"line_number":78,"context_line":"    def test_network_create_forbidden(self, mock_create):"},{"line_number":79,"context_line":"        response \u003d self._do_post(\"os-networks\","}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_5aab9c89","line":76,"in_reply_to":"dada55a8_dda9627d","updated":"2016-07-25 01:23:36.000000000","message":"Yeah, but it doesn\u0027t have network related API for neutron, so if we use nova.tests.fixtures.NeutronFixture, seems we will need to request the boot instance api instead. is that ok?","commit_id":"e4311c6bfa138f11362c4f025a802f849dc91a6b"}],"nova/tests/unit/network/test_neutronv2.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"d9d953832ea466d28fe330420b358cae2429a617","unresolved":false,"context_lines":[{"line_number":162,"context_line":"            exception.NeutronAdminCredentialConfigurationInvalid,"},{"line_number":163,"context_line":"            client.list_networks)"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    @mock.patch.object(client.Client, \"create_network\","},{"line_number":166,"context_line":"                       side_effect\u003dexceptions.Forbidden())"},{"line_number":167,"context_line":"    def test_Forbidden(self, mock_create_network):"},{"line_number":168,"context_line":"        my_context \u003d context.RequestContext(\u0027userid\u0027, uuids.my_tenant,"}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_3da07ea5","line":165,"range":{"start_line":165,"start_character":39,"end_line":165,"end_character":53},"updated":"2016-07-22 21:17:06.000000000","message":"I realize this is just a unit test, but nova never creates a network in neutron, so you should use something else to be a little more realistic, like create_port.","commit_id":"e4311c6bfa138f11362c4f025a802f849dc91a6b"},{"author":{"_account_id":4428,"name":"Liyingjun","email":"yinjalee@163.com","username":"liyingjun"},"change_message_id":"b2834d5aa5c28f54b285bfe93b865064a0bc460c","unresolved":false,"context_lines":[{"line_number":162,"context_line":"            exception.NeutronAdminCredentialConfigurationInvalid,"},{"line_number":163,"context_line":"            client.list_networks)"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    @mock.patch.object(client.Client, \"create_network\","},{"line_number":166,"context_line":"                       side_effect\u003dexceptions.Forbidden())"},{"line_number":167,"context_line":"    def test_Forbidden(self, mock_create_network):"},{"line_number":168,"context_line":"        my_context \u003d context.RequestContext(\u0027userid\u0027, uuids.my_tenant,"}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_1ad00453","line":165,"range":{"start_line":165,"start_character":39,"end_line":165,"end_character":53},"in_reply_to":"dada55a8_3da07ea5","updated":"2016-07-25 01:23:36.000000000","message":"Done","commit_id":"e4311c6bfa138f11362c4f025a802f849dc91a6b"}]}
