neutron/neutron/tests/unit/plugins
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
..
common Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
ml2 tests: clean up designate client session mock on test exit 2016-06-20 07:49:14 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00