summaryrefslogtreecommitdiff
path: root/openstackclient/tests/network
diff options
context:
space:
mode:
authorCedric Brandily <zzelle@gmail.com>2016-04-05 17:57:55 +0200
committerCedric Brandily <zzelle@gmail.com>2016-04-05 17:57:55 +0200
commitbad21594be3a38cce44742b406f35b30040193eb (patch)
tree40e5762e08d93a502d3bd4e6e331ef5f526b3bbe /openstackclient/tests/network
parent97492c168f395eb80009162eb2e242dde23e0ba5 (diff)
downloadpython-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