Fix bad Mock calls to assert_called_once()
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: I64f902d3165d58e13c876d0184bf1d1ae4f81bae

pshchelo/ironic,naototty/vagrant-lxc-ironic,debayanray/ironic_backup,ramineni/myironic,Tan0/ironic,NaohiroTamura/ironic,froyobin/ironic,faizan-barmawer/openstack_ironic,dims/ironic,rackerlabs/ironic,SauloAislan/ironic,SauloAislan/ironic,devananda/ironic,supermari0/ironic,bacaldwell/ironic,hpproliant/ironic,Tehsmash/ironic,rdo-management/ironic,ionutbalutoiu/ironic,openstack/ironic,pshchelo/ironic,naterh/ironic,redhat-openstack/ironic,openstack/ironic,ionutbalutoiu/ironic,NaohiroTamura/ironic,bacaldwell/ironic,naototty/vagrant-lxc-ironic,dims/ironic