nova/nova/tests/unit/compute
Sergey Nikitin b6d30549c6 Added hacking rule for assertTrue/False(A in B)
The following replacements were done in tests to have
clearer messages in case of failure:
- assertTrue(a in b) with assertIn(a, b)
- assertTrue(a not in b) with assertNotIn(a, b)
- assertFalse(a in b) with assertNotIn(a, b)

The error message would now be like:
   'abc' not in ['a', 'b', 'c']
rather than:
   'False is not True'.

Change-Id: I92d039731f17b731d302c35fb619300078b8a638
2015-01-07 12:25:53 +03:00
..
monitors move all tests to nova/tests/unit 2014-11-12 15:31:08 -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 move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_arch.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_claims.py libvirt: enhance to return avail free pages on cells 2014-12-16 06:41:57 -05:00
test_compute.py hardware: fix numa topology from image meta data 2015-01-05 16:30:42 +00:00
test_compute_api.py Merge "Add support for clean_shutdown to rescue in compute api layer" 2014-12-11 14:08:38 +00:00
test_compute_cells.py Make compute/api.py::resize() use Instance.get_flavor() 2014-11-25 13:36:02 -08:00
test_compute_mgr.py Merge "Compute: Catch binding failed exception while init host" 2014-12-10 20:30:24 +00:00
test_compute_utils.py Added hacking rule for assertTrue/False(A in B) 2015-01-07 12:25:53 +03:00
test_compute_xen.py Only load necessary instance info for use in sync power state 2014-11-14 17:15:28 +01:00
test_flavors.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_host_api.py Extends use of ServiceProxy to more methods in HostAPI in cells 2014-11-17 04:28:43 +00:00
test_hvtype.py compute: rename hvtype.py to hv_type.py 2014-11-20 11:26:39 +00:00
test_keypairs.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_multiple_nodes.py Add host field to ComputeNode 2014-12-08 14:19:06 +01:00
test_resource_tracker.py Merge "pci: move filtering of devices up into resource tracker" 2015-01-06 01:28:34 +00:00
test_resources.py fix pep8 errors that apparently slipped in 2014-12-08 17:41:03 -05:00
test_rpcapi.py Merge "Extend clean_shutdown to the compute rpc layer" 2014-12-11 13:52:42 +00:00
test_shelve.py Replace the rest of the non-object-using test_compute tests 2014-12-16 12:09:47 -08:00
test_stats.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_tracker.py Add host field to ComputeNode 2014-12-08 14:19:06 +01:00
test_virtapi.py Switch to moxstubout and mockpatch from oslotest 2014-12-02 08:03:42 -05:00
test_vmmode.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00