# License for the specific language governing permissions and limitations
# under the License.
-import types
-
import mock
import netaddr
from oslo_config import cfg
def test_ipam_driver_is_loaded_from_ipam_driver_config_value(self):
ipam_driver = self._load_ipam_driver('fake', None)
self.assertIsInstance(
- ipam_driver, (fake_driver.FakeDriver, types.ClassType),
+ ipam_driver, fake_driver.FakeDriver,
"loaded ipam driver should be of type FakeDriver")
@mock.patch(FAKE_IPAM_CLASS)
# License for the specific language governing permissions and limitations
# under the License.
-import types
-
import fixtures
from oslo_config import cfg
from oslo_log import log as logging
plugin = mgr.get_service_plugins()[constants.DUMMY]
self.assertIsInstance(
- plugin, (dummy_plugin.DummyServicePlugin, types.ClassType),
+ plugin, dummy_plugin.DummyServicePlugin,
"loaded plugin should be of type neutronDummyPlugin")
def test_service_plugin_by_name_is_loaded(self):
plugin = mgr.get_service_plugins()[constants.DUMMY]
self.assertIsInstance(
- plugin, (dummy_plugin.DummyServicePlugin, types.ClassType),
+ plugin, dummy_plugin.DummyServicePlugin,
"loaded plugin should be of type neutronDummyPlugin")
def test_multiple_plugins_specified_for_service_type(self):
neutron.tests.unit.agent.linux.test_bridge_lib \
neutron.tests.unit.agent.linux.test_ip_link_support \
neutron.tests.unit.agent.linux.test_interface \
+ neutron.tests.unit.test_manager \
neutron.tests.unit.test_auth \
neutron.tests.unit.test_policy \
neutron.tests.unit.extensions.v2attributes \