Beispiel #1
0
 def setUpClass(cls, *args, **kwargs):
     super(ResourceDriverTestCase, cls).setUpClass(*args, **kwargs)
     cls.resource_driver = FakeExtensionManager.get_extension_objects(
         'vnc_cfg_api.resourceApi')[0]
Beispiel #2
0
 def setUpClass(cls, *args, **kwargs):
     super(NeutronBackendTestCase, cls).setUpClass(*args, **kwargs)
     cls.neutron_api_obj = FakeExtensionManager.get_extension_objects(
         'vnc_cfg_api.neutronApi')[0]
     cls.neutron_api_obj._npi._connect_to_db()
     cls.neutron_db_obj = cls.neutron_api_obj._npi._cfgdb
Beispiel #3
0
 def setUpClass(cls, *args, **kwargs):
     super(KeystoneSyncTestCase, cls).setUpClass(*args, **kwargs)
     cls.openstack_driver = FakeExtensionManager.get_extension_objects(
         'vnc_cfg_api.resync')[0]