)]}'
{"neutron/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"a6d1f088e8be4aefa81aa1c00096375fb3104911","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                              [vpnaas_provider],"},{"line_number":65,"context_line":"                              \u0027service_providers\u0027)"},{"line_number":66,"context_line":"        stm \u003d st_db.ServiceTypeManager()"},{"line_number":67,"context_line":"        mock.patch(\u0027neutron.db.servicetype_db.ServiceTypeManager.get_instance\u0027,"},{"line_number":68,"context_line":"                   return_value\u003dstm).start()"},{"line_number":69,"context_line":"        mock.patch(\u0027neutron.common.rpc.create_connection\u0027).start()"},{"line_number":70,"context_line":"        self.vpn_plugin \u003d vpn_plugin.VPNDriverPlugin()"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_86668ab9","line":67,"updated":"2014-08-22 11:03:42.000000000","message":"Good theory that there is something with the singleton for service type manager. However, although this solves the Jenkin\u0027s failure, I\u0027m not convinced that it is the \"right\" solution for the test case.\n\nThe point of the test is to ensure that when a VPNDriverPlugin is create with the service provider set in the config to a Cisco service driver, that the validator will point to the one in the Cisco driver (and not the reference validator).\n\nThis patch mocks out the logic that actually loads the service driver. How will the assert in L73 actually test that the right validator is used?","commit_id":"799b895ee1c5c9b3244b8f90ddfa0750c696bae4"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"242d633c976b4bd90099507111d8008b1e06f3a3","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                              [vpnaas_provider],"},{"line_number":65,"context_line":"                              \u0027service_providers\u0027)"},{"line_number":66,"context_line":"        stm \u003d st_db.ServiceTypeManager()"},{"line_number":67,"context_line":"        mock.patch(\u0027neutron.db.servicetype_db.ServiceTypeManager.get_instance\u0027,"},{"line_number":68,"context_line":"                   return_value\u003dstm).start()"},{"line_number":69,"context_line":"        mock.patch(\u0027neutron.common.rpc.create_connection\u0027).start()"},{"line_number":70,"context_line":"        self.vpn_plugin \u003d vpn_plugin.VPNDriverPlugin()"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_a9fd12b3","line":67,"in_reply_to":"1abeadc6_86668ab9","updated":"2014-08-22 13:57:15.000000000","message":"OK. Missed that you created another instance of the service type manager and not mocked it out. The only question is whether or not this is the right way to solve this or whether the service type manager should be modified.","commit_id":"799b895ee1c5c9b3244b8f90ddfa0750c696bae4"}]}
