neutron/neutron/tests/unit/plugins/ml2/extensions
Ihar Hrachyshka 3703b31eea tests: clean up designate client session mock on test exit
This test was modifying the driver session method without making an
effort to restore the original value after the test case completion.
This resulted in two consequent tests that relied on the method that
were triggered in the same test thread, to trigger a failure for one of
them.

Changed the setup logic for the test class to use mock.patch(..).start()
instead.

Closes-Bug: #1593647
Change-Id: I08be90691b5417025c40c5a18308d820dc7a43d2
2016-06-20 07:49:14 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
fake_extension.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_dns_integration.py tests: clean up designate client session mock on test exit 2016-06-20 07:49:14 +00:00
test_port_security.py port security: gracefully handle resources with no bindings 2016-03-24 22:27:31 +01:00