`mock.called_once_with` does not assert
a few tests call .called_once_with()
instead of .assert_called_once_with()
. This creates a mock instead of asserting, see https://docs.python.org/dev/library/unittest.mock.html#autospeccing
a few tests call .called_once_with()
instead of .assert_called_once_with()
. This creates a mock instead of asserting, see https://docs.python.org/dev/library/unittest.mock.html#autospeccing