# Path: networking_vsphere/tests/base.py
# CONF = cfg.CONF
# class TestCase(base.BaseTestCase):
#     def setUp(self):
#     def setup_rpc_mocks(self):
#     def flags(self, **kw):
#     def reset_flags(self):
#     def del_attributes(self):


from networking_vsphere.drivers import driver
from networking_vsphere.tests import base
from networking_vsphere.tests.unit.drivers import fake_driver

    def test_prepare_port_group(self):
        self.assertRaises(NotImplementedError,
                          self.driver.prepare_port_group, None, None, None)

    def test_update_port_group(self):
        self.assertRaises(NotImplementedError,
                          self.driver.update_port_group, None, None, None)

    def test_get_vlanid_for_port_group(self):
        self.assertRaises(NotImplementedError,
                          self.driver.get_vlanid_for_port_group, None, None)

    def test_get_vlanid_for_portgroup_key(self):
        self.assertRaises(NotImplementedError,
                          self.driver.get_vlanid_for_portgroup_key, None)

    def test_get_vm_ref_by_uuid(self):
        self.assertRaises(NotImplementedError,
                          self.driver.get_vm_ref_by_uuid, None)

    def test_wait_for_portgroup(self):
        self.assertRaises(NotImplementedError,
                          self.driver.wait_for_portgroup, None, None)

    def test_process_delete_vm(self):
        self.assertRaises(NotImplementedError,
                          self.driver.process_delete_vm, None)



# Path: networking_vsphere/tests/base.py
# CONF = cfg.CONF
# class TestCase(base.BaseTestCase):
#     def setUp(self):
#     def setup_rpc_mocks(self):
#     def flags(self, **kw):
#     def reset_flags(self):
#     def del_attributes(self):


# Path: networking_vsphere/tests/unit/drivers/test_driver.py
from networking_vsphere.drivers import driver
from networking_vsphere.tests import base
from networking_vsphere.tests.unit.drivers import fake_driver


    def test_prepare_port_group(self):
        self.assertRaises(NotImplementedError,
                          self.driver.prepare_port_group, None, None, None)

    def test_update_port_group(self):
        self.assertRaises(NotImplementedError,
                          self.driver.update_port_group, None, None, None)

    def test_get_vlanid_for_port_group(self):
        self.assertRaises(NotImplementedError,
                          self.driver.get_vlanid_for_port_group, None, None)

    def test_get_vlanid_for_portgroup_key(self):
        self.assertRaises(NotImplementedError,
                          self.driver.get_vlanid_for_portgroup_key, None)

    def test_get_vm_ref_by_uuid(self):
        self.assertRaises(NotImplementedError,
                          self.driver.get_vm_ref_by_uuid, None)

    def test_wait_for_portgroup(self):
        self.assertRaises(NotImplementedError,
                          self.driver.wait_for_portgroup, None, None)

    def test_process_delete_vm(self):
        self.assertRaises(NotImplementedError,
                          self.driver.process_delete_vm, None)



class TestNetworkDriverCallback(base.TestCase):