neutron/neutron
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 Merge "Basic subnetpool CRUD" 2015-03-19 19:42:22 +00:00
callbacks Migrate to oslo.log 2015-03-12 11:22:56 +01:00
cmd Merge "Hyper-V Agent decomposition" 2015-03-19 18:54:34 +00:00
common Basic subnetpool CRUD 2015-03-18 22:53:50 -07:00
db Merge "Basic subnetpool CRUD" 2015-03-19 19:42:22 +00:00
debug Migrate to oslo.log 2015-03-12 11:22:56 +01:00
extensions Migrate to oslo.log 2015-03-12 11:22:56 +01:00
hacking Migrate to oslo.log 2015-03-12 11:22:56 +01:00
ipam Basic subnetpool CRUD 2015-03-18 22:53:50 -07:00
locale Imported Translations from Transifex 2015-03-17 06:47:18 +00:00
notifiers Migrate to oslo.log 2015-03-12 11:22:56 +01:00
openstack Migrate to oslo.log 2015-03-12 11:22:56 +01:00
plugins Hyper-V Agent decomposition 2015-03-19 12:17:19 +02:00
scheduler DHCP Service LoadBalancing Scheduler 2015-03-18 10:13:53 -07:00
server Migrate to oslo.log 2015-03-12 11:22:56 +01:00
services Merge "IBM SDN-VE Plugin decomposition" 2015-03-17 21:40:15 +00:00
tests Make DHCP tests cleanup neutron manager reference 2015-03-18 08:57:04 -07:00
__init__.py Revert "monkey patch stdlib before importing other modules" 2015-02-11 17:26:33 -08:00
auth.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
context.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
i18n.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
manager.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
neutron_plugin_base_v2.py Basic subnetpool CRUD 2015-03-18 22:53:50 -07:00
policy.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
quota.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
service.py Revert "Set default of api_workers to number of CPUs" 2015-03-16 17:23:44 -07:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00