]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Removes unnecessary Embrane module-level mocks
authorKevin Benton <blak111@gmail.com>
Fri, 30 May 2014 03:55:21 +0000 (20:55 -0700)
committerKevin Benton <blak111@gmail.com>
Tue, 3 Jun 2014 09:17:43 +0000 (09:17 +0000)
commit6c203529230c739bdd2c94f0a77d4b22037a994b
tree61cdfa974c6fd30f5fafdbc0602d6004984cd6c0
parent53b701a3f91530c9462a9cb0690aaf68efd45f6d
Removes unnecessary Embrane module-level mocks

The embrane unit tests install a magicmock into
the system modules at the module level which
persists across all unit tests and isn't required.
This patch removes the unnecessary and limits the
life of the module mocks where they are necessary.

Partial-Bug: #1316401
Change-Id: Iaa38ee0c6821d46a6d78eefef39006df2c1c47e5
neutron/tests/unit/embrane/test_embrane_defaults.py
neutron/tests/unit/embrane/test_embrane_l3_plugin.py
neutron/tests/unit/embrane/test_embrane_neutron_plugin.py
neutron/tests/unit/services/loadbalancer/drivers/embrane/test_embrane_defaults.py
neutron/tests/unit/services/loadbalancer/drivers/embrane/test_plugin_driver.py