Updated openstack/openstack
Project: openstack/nova  d0b7b6d73c80dff8a0a02b5951376d3baa540589

Fix bad Mock calls to assert_called_once()

To actually check if a call was made, we should use
assert_called_once_with. assert_called_once is just a auto-spec'd
method and hence does not really check anything.

Change-Id: I21064dfca2a281683ee3b6ed4926f471bb74dbfa