]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor plugin setup helpers out of test.base
authorMaru Newby <marun@redhat.com>
Tue, 25 Mar 2014 10:54:04 +0000 (03:54 -0700)
committerMaru Newby <marun@redhat.com>
Mon, 25 Aug 2014 12:44:27 +0000 (14:44 +0200)
commitd9bd299bd9c5fd93d1cc4c2cbab845bf0122ec6d
tree4bea5f096e82f3ed037af87ab64b8c5d18151413
parent34883286dd5301edd86faa06d2cf3f7db7178648
Refactor plugin setup helpers out of test.base

Helper methods for plugin and notification setup were previously
defined on neutron.tests.base.BaseTestCase.  The imports required to
support these helpers were preventing the api tests from consuming
tempest due to configuration conflicts that resulted between neutron
and tempest.  This change moves the helpers to a new module in
tests/unit so that BaseTestCase can be safely used across all types of
tests.

Partially-Implements: blueprint retargetable-functional-testing

Change-Id: I44251db399cd73390a9d1931a7f253662002ba10
18 files changed:
neutron/tests/base.py
neutron/tests/unit/metaplugin/test_metaplugin.py
neutron/tests/unit/services/metering/test_metering_agent.py
neutron/tests/unit/test_api_v2.py
neutron/tests/unit/test_api_v2_extension.py
neutron/tests/unit/test_db_plugin.py
neutron/tests/unit/test_db_plugin_level.py
neutron/tests/unit/test_extension_ext_gw_mode.py
neutron/tests/unit/test_extension_extended_attribute.py
neutron/tests/unit/test_extension_pnet.py
neutron/tests/unit/test_l3_plugin.py
neutron/tests/unit/test_l3_schedulers.py
neutron/tests/unit/test_neutron_manager.py
neutron/tests/unit/test_quota_ext.py
neutron/tests/unit/test_routerserviceinsertion.py
neutron/tests/unit/test_servicetype.py
neutron/tests/unit/testlib_plugin.py [new file with mode: 0644]
neutron/tests/unit/vmware/extensions/test_networkgw.py