nova/nova/tests/unit/servicegroup
Hans Lindgren 865063744f Use TimeFixture from oslo_utils to override time in tests
Instead of calling timeutils.set_time_override() directly where one
also has to remember to call timeutils.clear_time_override() when done
or potentially interfere with other tests, lets use the provided
fixture in oslo timeutils that handle all of this for us.

Also replace a few occurances where timeutils.utcnow() was mocked just
to provide some consistency in how time overrides are done.

Change-Id: Ice5bdb3fa3dc57ba8bafba702f2070fba7457ea7
2015-12-18 12:15:00 -05:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_api.py Remove get_all method from servicegroup API 2015-10-28 11:33:43 +00:00
test_db_servicegroup.py Use TimeFixture from oslo_utils to override time in tests 2015-12-18 12:15:00 -05:00
test_mc_servicegroup.py servicegroup: remove get_all method never used as public 2015-05-07 03:50:05 -04:00
test_zk_driver.py Fix up join() and leave() methods of servicegroup 2015-03-11 23:22:11 +00:00