summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2012-12-18 09:34:19 +1300
committerRobert Collins <robertc@robertcollins.net>2012-12-18 10:49:47 +1300
commit21a86efef4656705a6590079e1491521a2954b47 (patch)
tree24dcf6e5f92ce415b046fe7b423c76d47fa74def /nova/exception.py
parentef5d2af7f2d09d5b7ce8fe632e6773882ad5ac58 (diff)
downloadnova-21a86efef4656705a6590079e1491521a2954b47.tar.gz
nova-21a86efef4656705a6590079e1491521a2954b47.tar.xz
nova-21a86efef4656705a6590079e1491521a2954b47.zip
Properly remove the time override in quota tests.
Using set_time_override directly makes it easy to forget to call clear_time_override, and forgetting to call it will break tests that rely on time being sensible, advancing normally etc. Using useFixture(TimeOverride()) ensures that clear_time_override is automatically called when the test ends. Change-Id: I8753524324fb9a20c30b41a114b265b336b3d54c
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions