]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix setup of Neutron core plugin in VPNaaS UT
authorKevin Benton <blak111@gmail.com>
Thu, 2 Oct 2014 08:16:46 +0000 (01:16 -0700)
committerKevin Benton <blak111@gmail.com>
Thu, 2 Oct 2014 08:16:46 +0000 (01:16 -0700)
One of the VPNaaS unit test setup routines creates
and extension manager but passes it a class but it
should be passing an instance of that class.

Change-Id: I589cdda0674fdf8fa20d92c2609e1ba6966125d8

neutron/tests/unit/db/vpn/test_db_vpnaas.py

index 979240ed157e116fd69230c039ac157b979a3e38..7b9404f02f73c21852f0520beddd5d39dcd773df 100644 (file)
@@ -434,7 +434,7 @@ class VPNPluginDbTestCase(VPNTestMixin,
             service_plugins=service_plugins
         )
         self._subnet_id = uuidutils.generate_uuid()
-        self.core_plugin = TestVpnCorePlugin
+        self.core_plugin = TestVpnCorePlugin()
         self.plugin = vpn_plugin.VPNPlugin()
         ext_mgr = api_extensions.PluginAwareExtensionManager(
             extensions_path,