Fix uses of Mock.assert_called_once in unit tests (fixes OPS-2077)
Merge pull request #24 from olivierlefloch/olefloch/OPS-2077/fix_mock_assert_called

Fix uses of Mock.assert_called_once in unit tests (fixes OPS-2077)