diff options
| author | Cedric Brandily <zzelle@gmail.com> | 2016-04-05 17:57:55 +0200 |
|---|---|---|
| committer | Cedric Brandily <zzelle@gmail.com> | 2016-04-05 17:57:55 +0200 |
| commit | bad21594be3a38cce44742b406f35b30040193eb (patch) | |
| tree | 40e5762e08d93a502d3bd4e6e331ef5f526b3bbe /openstackclient/tests/network | |
| parent | 97492c168f395eb80009162eb2e242dde23e0ba5 (diff) | |
| download | python-openstackclient-bad21594be3a38cce44742b406f35b30040193eb.tar.gz | |
Use fixtures and addCleanup instead of tearDown
Nothing ensures tearDown call as tearDown is called only if test
succeeds. This change replaces tearDown use with:
* addCleanup use to stop mocks
* EnvFixture which ensures to unmock environment thanks to useFixture.
Change-Id: I1ff422e6a7585bc48b04b8f5c4cc1e7e9ddab1bc
Diffstat (limited to 'openstackclient/tests/network')
0 files changed, 0 insertions, 0 deletions
