nova/nova/tests/unit/cells
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
fakes.py Replace RPC topic-based service queries with binary-based in cells 2015-03-09 08:21:37 -07:00
test_cells_filters.py Cells: cell scheduler anti-affinity filter 2015-06-22 12:00:03 -04:00
test_cells_manager.py Merge "Creating instance fail when inject ssh key in cells mode" 2015-09-14 22:19:04 +00:00
test_cells_messaging.py Replaces contextlib.nested with test.nested 2015-10-08 23:13:30 +03:00
test_cells_rpc_driver.py Use six.moves.range for Python 3 2015-05-20 15:19:51 -07:00
test_cells_rpcapi.py Merge "Creating instance fail when inject ssh key in cells mode" 2015-09-14 22:19:04 +00:00
test_cells_scheduler.py Remove flavors.get_flavor() only used in tests 2015-11-13 14:17:06 +01:00
test_cells_state_manager.py Fix order of arguments in assertEqual 2015-09-03 06:39:24 -07:00
test_cells_utils.py Cells: Limit instances pulled in _heal_instances 2015-09-22 11:03:55 -04:00
test_cells_weights.py Use TimeFixture from oslo_utils to override time in tests 2015-12-18 12:15:00 -05:00