]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove plugin_name_v2 and extension_manager in test_config
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Sat, 26 Oct 2013 12:53:21 +0000 (21:53 +0900)
committerAkihiro Motoki <motoki@da.jp.nec.com>
Mon, 6 Jan 2014 11:02:00 +0000 (20:02 +0900)
commitc15f7226badd0a3607e3c74ef650e87543ea1af7
tree0d56d3ba32720f0948a45f4a5b5cbe40ec03bb22
parentbf8bf46cbbe7428c9a12886604fe5aa10019aaec
Remove plugin_name_v2 and extension_manager in test_config

There are two ways to specify a core plugin and an extension manager
in the unit tests: test_config and arguments of the constructor.
Both are used and it sometimes makes it a bit difficult to debug.
This patch removes the way via test_config and makes constructor
arguments the only way to do it.

Also removes the default entries in test_config because they are
not used anywhere.

Change-Id: I491003f4246e62001e9b74743c8fbfa922088383
Closes-Bug: #1245335
20 files changed:
neutron/common/test_lib.py
neutron/tests/unit/bigswitch/test_router_db.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py
neutron/tests/unit/nec/test_nec_plugin.py
neutron/tests/unit/nec/test_packet_filter.py
neutron/tests/unit/nicira/test_agent_scheduler.py
neutron/tests/unit/nicira/test_maclearning.py
neutron/tests/unit/nicira/test_networkgw.py
neutron/tests/unit/nicira/test_nicira_plugin.py
neutron/tests/unit/services/metering/test_metering_plugin.py
neutron/tests/unit/test_agent_ext_plugin.py
neutron/tests/unit/test_db_plugin.py
neutron/tests/unit/test_extension_allowedaddresspairs.py
neutron/tests/unit/test_extension_ext_net.py
neutron/tests/unit/test_extension_extraroute.py
neutron/tests/unit/test_extension_portsecurity.py
neutron/tests/unit/test_extension_security_group.py
neutron/tests/unit/test_l3_plugin.py
neutron/tests/unit/test_l3_schedulers.py
neutron/tests/unit/test_neutron_manager.py