You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: fix called_once_withh in test_create_netbox_object_check_mode_false
Calling `MagicMock.called_once_with` returns a mock object and asserting
that always succeeds. Replace this call with
`MagicMock.assert_called_with` in
`test_create_netbox_object_check_mode_false` since
`endpoint_mock.create` is called twice: once in the test setup and once
by `_create_netbox_object`.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
0 commit comments