infobloxopen / infoblox-ansible

Ansible modules for interfacing to Infoblox systems
GNU General Public License v3.0
54 stars 61 forks source link

test: fix assertion for Mock.called_once_with #218

Open bdrung opened 6 months ago

bdrung commented 6 months ago

Calling Mock.called_once_with returns a mock object and asserting that always succeeds.

Replace Mock.called_once_with with Mock.assert_called_once_with and correct the expected parameters to the update_object call.