mock.assert_called_once() is a noop, it doesn't test anything.
Instead it should be mock.assert_called_once_with()
This occurs in the following places: nova/tests/virt/hyperv/test_ioutils.py nova/tests/virt/libvirt/test_driver.py
mock.assert_ called_ once() is a noop, it doesn't test anything.
Instead it should be mock.assert_ called_ once_with( )
This occurs in the following places: tests/virt/ hyperv/ test_ioutils. py tests/virt/ libvirt/ test_driver. py
nova/
nova/