nova/nova/tests/unit/pci
Takashi NATSUME d90186068b Fix non-existent method of Mock
There is no method called_once_with() in Mock object.
Use assert_called_once_with() or assert_has_calls() instead.

Conflicts:
    nova/tests/unit/conductor/tasks/test_live_migrate.py
    nova/tests/unit/virt/libvirt/test_driver.py

NOTE(takashin): The conflict is due to not having the following changes
in stable/stein.

    I734cc01dce13f9e75a16639faf890ddb1661b7eb
    Ief2c959d7c339e11b19e521de6e7d1be2f8722f8

The changes for ComputeAPIAPICellUnitTestCase (Cells v1 test cases) was
added in nova/tests/unit/compute/test_compute_api.py
because the following change has not been applied in stable/stein.

    Ib0e0b708c46e4330e51f8f8fdfbb02d45aaf0f44

Change-Id: I9f73fcbe7c3dfd64e75ac8224c13934b03443cd5
Closes-Bug: #1544522
(cherry picked from commit cf7d28eb6e)
2019-08-16 08:23:25 +09:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py Fix mock.patch usage in unit tests 2018-09-13 02:54:07 +00:00
test_devspec.py Merge "pci: Validate behavior of empty devname" 2017-09-21 13:57:54 +00:00
test_manager.py Separate methods to free claimed and allocated devs 2019-03-07 10:21:41 +02:00
test_request.py Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
test_stats.py Address nits in I46d483f9de6776db1b025f925890624e5e682ada 2018-01-02 15:57:50 +00:00
test_utils.py Fix non-existent method of Mock 2019-08-16 08:23:25 +09:00
test_whitelist.py Enhance PCI passthrough whitelist to support regex 2016-12-11 00:53:14 +02:00