nova/nova/tests/unit/compute
Diana Clarke 88f406335e Replace stubs.Set with stub_out (fakes)
As part of the ongoing effort to stop using mox, start replacing
stubs.Set calls with stub_out.

Limit the scope of this patch to the following fake functions:

- fake_get_instance_nw_info
- stub_nw_info
- stub_out_instance_quota
- stub_out_networking
- stub_out_nw_api
- stub_out_nw_api_get_instance_nw_info
- set_stub_network_methods
- stub_out_network_cleanup
- unset_stub_network_methods

Part of bp:remove-mox

Change-Id: I70215fb25ef25422786b96d33c91d8f1d4760a23
2016-01-13 22:19:38 -05:00
..
monitors Ensure Nova metrics derived from a set of metrics 2015-10-04 21:28:13 -05:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
eventlet_utils.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake_resource_tracker.py Avoid querying for Service in resource tracker 2015-08-13 10:24:05 +02:00
test_arch.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_claims.py Claims: Make sure move claims create a migration context records 2015-09-15 12:29:49 +01:00
test_compute.py Replace stubs.Set with stub_out (fakes) 2016-01-13 22:19:38 -05:00
test_compute_api.py Convert nova.tests.unit.image.fake.stub_out_image_service to use stub_out 2016-01-06 16:42:20 -08:00
test_compute_cells.py Implements proper UUID format for test_compute_cells and test_compute_utils. 2016-01-04 11:57:08 +01:00
test_compute_mgr.py Replace stubs.Set with stub_out (fakes) 2016-01-13 22:19:38 -05:00
test_compute_utils.py Replace stubs.Set with stub_out (fakes) 2016-01-13 22:19:38 -05:00
test_compute_xen.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
test_flavors.py Make compute unit tests inherit from test.NoDBTestCase 2015-02-24 17:54:29 +02:00
test_host_api.py Replaces contextlib.nested with test.nested 2015-10-08 23:13:30 +03:00
test_hvtype.py Add 'lxd' to the list of recognized hypervisors 2015-11-17 08:56:20 +00:00
test_keypairs.py Fixes X509 keypair creation failure 2015-04-28 12:21:53 +03:00
test_multiple_nodes.py Add cpu_allocation_ratio and ram_allocation_ratio to ComputeNode 2015-08-31 15:21:21 +02:00
test_resource_tracker.py pci: do not filter out any SRIOV Physical Functions 2016-01-12 21:13:12 -05:00
test_resources.py Remove vcpu resource from extensible resource tracker 2015-11-05 14:19:51 +00:00
test_rpcapi.py Add a compute API to trigger crash dump in instance. 2015-12-19 09:30:08 +08:00
test_shelve.py Convert nova.tests.unit.image.fake.stub_out_image_service to use stub_out 2016-01-06 16:42:20 -08:00
test_stats.py Convert nova.compute.* to use instance dot notation 2015-02-25 17:21:36 -05:00
test_tracker.py Fix resource tracker VCPU counting 2015-11-23 14:50:14 +00:00
test_virtapi.py Switch to moxstubout and mockpatch from oslotest 2014-12-02 08:03:42 -05:00
test_vmmode.py Convert nova.compute.* to use instance dot notation 2015-02-25 17:21:36 -05:00