nova/nova/tests/unit/pci
Takashi NATSUME a5f39bd9c3 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.

NOTE(takashin): Additional changes are also applied to
nova/tests/unit/virt/libvirt/test_vif.py
because the following change has not been applied in stable/rocky.

    I047856982251fddc631679fb2dbcea0f3b0db097

Change-Id: I9f73fcbe7c3dfd64e75ac8224c13934b03443cd5
Closes-Bug: #1544522
(cherry picked from commit cf7d28eb6e)
(cherry picked from commit d90186068b)
2019-08-16 09:13:37 +09:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py pci: avoid parsing whitelist repeatedly 2016-03-09 18:49:15 +00:00
test_devspec.py Merge "pci: Validate behavior of empty devname" 2017-09-21 13:57:54 +00:00
test_manager.py PCI: do not force remove allocated devices 2019-02-05 23:29:36 +00:00
test_request.py Add PCI NUMA policies 2017-12-22 15:59:54 +00: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 09:13:37 +09:00
test_whitelist.py Enhance PCI passthrough whitelist to support regex 2016-12-11 00:53:14 +02:00