neutron/neutron/tests/unit
Kevin Benton 387f396db8 Make DHCP tests cleanup neutron manager reference
The DHCP scheduler unit tests occasionally call methods
on the core plugin via the neutron manager (e.g. in report_state).
However, they weren't calling the normal unit test cleanup routines
for tests that call the core plugin so they were leaving stale
references in the manager.

This patch uses the setup_coreplugin helper that sets up the
configuration for the core plugin and adds the cleanup call
to ensure that the neutron manager is cleaned up at the end
of each test.

Closes-Bug: #1434278
Change-Id: Ic35629659574121c739574c1ed39364d6977c3ea
2015-03-18 08:57:04 -07:00
..
agent Merge "Replace keepalived notifier bash script with Python ip monitor" 2015-03-19 03:50:09 +00:00
api Schedule net to a DHCP agt on subnet create 2015-03-17 04:22:34 +00:00
brocade oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
callbacks Add callbacks-based system to Neutron 2015-02-25 06:11:59 -08:00
cisco Vendor decomposition to move CSR1000v support to the networking-cisco repo 2015-03-05 14:02:08 -08:00
db Remove unused L3 HA RPC method 2015-03-18 19:00:12 -04:00
embrane oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
extensions oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
hacking Migrate to oslo.log 2015-03-12 11:22:56 +01:00
hyperv Hyper-V Agent decomposition 2015-03-19 12:17:19 +02:00
ibm oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
ipam Introduce External IPAM Interface 2015-03-17 15:03:05 -07:00
linuxbridge linuxbridge UT: Mock get_interface_by_ip 2015-03-10 10:27:56 +09:00
ml2 Hyper-V Agent decomposition 2015-03-19 12:17:19 +02:00
notifiers oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
nuage Nuage core plugin decomposition 2015-02-23 11:25:54 -08:00
oneconvergence Remove root_helper arg from SecurityGroupAgentRpc 2015-02-18 13:24:51 +00:00
opencontrail Add InvalidIpForNetwork and InvalidIpForSubnet exception 2015-03-02 15:18:58 +08:00
openvswitch OVS DVR UT: Remove an inappropriate str() conversion 2015-03-17 21:43:17 +09:00
services Change L3 agent AdvancedService class to be non-singleton 2015-02-25 19:09:27 -05:00
sriovnicagent Remove remaining root_helper args from plugins 2015-02-13 09:01:59 -06:00
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
_test_extension_portbindings.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
database_stubs.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
dummy_plugin.py
extension_stubs.py
test_agent_config.py Add rootwrap daemon mode support 2015-03-12 21:12:07 -05:00
test_agent_ext_plugin.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_agent_rpc.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_api_api_common.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_api_v2.py Adding VLAN Transparency support for ML2 along with REST API changes 2015-03-18 11:46:03 -07:00
test_api_v2_extension.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_api_v2_resource.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_attributes.py attributes: Additional IP address validation 2015-01-26 11:55:31 +09:00
test_auth.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_basetestcase.py Fix misspellings words in neutron 2015-02-24 10:10:35 -08:00
test_common_log.py Use method's logger in log decorator 2014-07-15 11:08:33 +02:00
test_common_utils.py Replace FLOATING_IP_CIDR_SUFFIX constant with utils 2015-01-21 11:15:38 -05:00
test_config.py tests: initialize policy in BaseTestCase 2015-02-27 18:11:55 +01:00
test_db_migration.py Default security group table 2015-01-29 14:08:29 +03:00
test_db_plugin.py Merge "Basic subnetpool CRUD" 2015-03-19 19:42:22 +00:00
test_db_plugin_level.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_debug_commands.py Remove remaining uses of passing root_helper 2015-02-20 03:24:38 +00:00
test_dhcp_agent.py Refactor the ProcessMonitor API 2015-03-06 11:09:21 +00:00
test_dhcp_rpc.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_dhcp_scheduler.py Make DHCP tests cleanup neutron manager reference 2015-03-18 08:57:04 -07:00
test_extension_allowedaddresspairs.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_extension_ext_gw_mode.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_extension_ext_net.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_extension_extended_attribute.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_extension_extradhcpopts.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_extension_extraroute.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_extension_pnet.py Adding VLAN Transparency support for ML2 along with REST API changes 2015-03-18 11:46:03 -07:00
test_extension_portsecurity.py Add portsecurity extension support 2015-03-17 05:13:04 +08:00
test_extension_security_group.py Handle DBDuplicateError exception properly when creating default sg 2015-03-17 14:08:07 +03:00
test_extensions.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_iptables_firewall.py Add portsecurity extension support 2015-03-17 05:13:04 +08:00
test_iptables_manager.py Remove remaining uses of passing root_helper 2015-02-20 03:24:38 +00:00
test_ipv6.py Fix IPv6 Subnet Slaac Check 2015-01-12 15:18:09 +08:00
test_l3_agent.py Replace keepalived notifier bash script with Python ip monitor 2015-03-18 18:59:33 -04:00
test_l3_dvr.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
test_l3_plugin.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_l3_schedulers.py Revert "fix check_ports_exist_on_l3agent in no subnet case" 2015-03-16 20:20:36 +00:00
test_linux_daemon.py Do not run neutron-ns-metadata-proxy as root on L3 agent 2014-12-24 01:21:44 +01:00
test_linux_dhcp.py Advertise mtu over dhcp 2015-03-17 18:06:40 +00:00
test_linux_external_process.py Use common agent.linux.utils.ensure_dir method 2015-03-11 20:46:31 -07:00
test_linux_interface.py Change linux/ip_lib code to better handle address families 2015-03-10 00:17:24 -04:00
test_linux_ip_lib.py replaces enumeration method used to get a list of interfaces 2015-03-14 21:15:53 -05:00
test_metadata_agent.py Move Unix domain socket helpers to a common place 2015-03-16 11:18:03 -04:00
test_metadata_namespace_proxy.py Move Unix domain socket helpers to a common place 2015-03-16 11:18:03 -04:00
test_netns_cleanup.py Fix netns-cleanup broken by ProcessMonitor refactor 2015-03-13 10:35:40 +00:00
test_neutron_context.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_neutron_manager.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_ovs_cleanup.py tests: initialize policy in BaseTestCase 2015-02-27 18:11:55 +01:00
test_policy.py tests: initialize policy in BaseTestCase 2015-02-27 18:11:55 +01:00
test_post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
test_provider_configuration.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_quota_ext.py Raise QuotaResourceUnknown in the quota engine 2015-03-11 04:58:46 -07:00
test_router_processing_queue.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
test_rpc_service.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_security_groups_rpc.py Improve performance of _get_security_group_member_ips 2015-03-10 10:55:05 +03:00
test_servicetype.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_wsgi.py Merge "Reduce code duplication and fix argument order in test_wsgi" 2015-03-19 11:16:42 +00:00
testlib_api.py Remove XML support 2014-10-24 15:18:49 +00:00
testlib_plugin.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00