nova/nova/tests/unit
Takashi Natsume 8d3c2ce92b Add a hacking rule for assert_has_calls
Add the following hacking rule.

* N366: The assert_has_calls is a method rather than a variable.

  Not correct: mock_method.assert_has_calls = [mock.call(0)]
  Correct:     mock_method.assert_has_calls([mock.call(0)])

This patch is a follow-up patch for
Id094dd90efde09b9a835d4492f4a92b8f8ad296e.

Change-Id: I892f8c23ee44f2b3518776a9705e3543f3115cae
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2020-09-28 23:08:15 +09:00
..
accelerator Cyborg evacuate support 2020-09-01 08:41:45 +00:00
api tests: Remove '_FakeImageService' 2020-09-16 11:31:23 +01:00
cmd Migrate default policy file from JSON to YAML 2020-09-09 08:09:38 -05:00
compute tests: Remove '_FakeImageService' 2020-09-16 11:31:23 +01:00
conductor conductor: Don't use setattr 2020-09-14 16:47:15 +01:00
conf Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Fix configure() called after DatabaseAtVersion fixture 2020-05-22 17:45:14 +01:00
fake_loadables
image tests: Remove '_FakeImageService' 2020-09-16 11:31:23 +01:00
keymgr
network Cleanup unused code 2020-09-11 12:48:25 +02:00
notifications scheduler: Request vTPM trait based on flavor or image 2020-07-16 17:54:44 +01:00
objects Merge "objects: Remove 'XenapiLiveMigrateData'" 2020-09-13 23:38:43 +00:00
pci Lookup nic feature by PCI address 2020-08-04 22:25:02 +00:00
policies [Trivial] Replace ref of policy.json to policy.yaml 2020-09-09 16:46:43 +00:00
privsep privsep: Add support for recursive chown, move_tree operations 2020-09-01 16:19:41 +01:00
scheduler Ensure source compute is up when confirming a resize 2020-08-26 14:50:07 +01:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
ssl_cert
storage Add ability to download Glance images into the libvirt image cache via RBD 2020-08-31 15:14:11 +02:00
virt Merge "libvirt: Remove MIN_LIBVIRT_FILE_BACKED_DISCARD_VERSION" 2020-09-25 15:41:30 +00:00
volume Merge "Add retry to cinder API calls related to volume detach" 2020-04-20 17:36:33 +00:00
__init__.py
cast_as_call.py
conf_fixture.py Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
fake_block_device.py
fake_build_request.py
fake_console_auth_token.py
fake_crypto.py
fake_diagnostics.py
fake_flavor.py
fake_hosts.py
fake_instance.py objects: Update keypairs when saving an instance 2020-07-22 12:29:19 +00:00
fake_ldap.py
fake_network.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_network_cache_model.py Use UUID as vif and network_id in vif tests 2020-09-07 10:31:52 +02:00
fake_notifier.py
fake_pci_device_pools.py
fake_policy.py Few todo fixes for API new policies 2020-08-22 09:35:29 -05:00
fake_processutils.py
fake_request_spec.py objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
fake_requests.py
fake_server_actions.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
fake_volume.py
image_fixtures.py
matchers.py
policy_fixture.py [Trivial] Replace ref of policy.json to policy.yaml 2020-09-09 16:46:43 +00:00
test_api_validation.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
test_availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
test_baserpc.py
test_block_device.py utils: Move 'get_bdm_image_metadata' to nova.block_device 2020-07-08 11:56:01 +01:00
test_cache.py
test_cinder.py
test_conf.py test cleanup: Make base TestCase subclass oslotest 2019-11-22 22:38:22 +00:00
test_configdrive2.py
test_context.py Revert "Log CellTimeout traceback in scatter_gather_cells" 2019-10-22 17:12:28 -04:00
test_crypto.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
test_exception.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
test_fake_notifier.py
test_fixtures.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_flavors.py
test_hacking.py Add a hacking rule for assert_has_calls 2020-09-28 23:08:15 +09:00
test_identity.py
test_instance_types_extra_specs.py
test_json_ref.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_loadables.py
test_matchers.py
test_metadata.py metadata: export the vCPU IDs that are pinning on the host CPUs 2020-07-21 21:31:41 +08:00
test_notifications.py nova-net: Remove dependency on nova-net from fake cache 2020-01-08 13:54:12 +00:00
test_notifier.py
test_policy.py Migrate default policy file from JSON to YAML 2020-09-09 08:09:38 -05:00
test_profiler.py Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
test_quota.py tests: Remove '_FakeImageService' 2020-09-16 11:31:23 +01:00
test_rpc.py
test_safeutils.py
test_service.py nova-net: Remove final references to nova-network 2020-01-08 13:54:12 +00:00
test_service_auth.py
test_test.py Handle oslo.messaging ping endpoint 2020-09-03 17:01:19 -05:00
test_test_utils.py Extend is_ipv6_supported() to cover more error cases 2020-06-29 15:13:55 +02:00
test_utils.py utils: Move 'get_bdm_image_metadata' to nova.block_device 2020-07-08 11:56:01 +01:00
test_versions.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_weights.py
test_wsgi.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
utils.py Extend is_ipv6_supported() to cover more error cases 2020-06-29 15:13:55 +02:00