Comment 0 for bug 1365751

Revision history for this message
Michael Davies (mrda) wrote :

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