I am setting up a MagicMock instance, calling the same method twice with different arguments, and setting my assertion to only validate for one set of arguments.
Python: 3.5.2
from unittest.mock import MagicMock
my_mock = MagicMock()
my_mock.some_method()
my_mock.some_method(123)
my_mock.some_method.assert_called_once_with(123)
AssertionError: Expected 'some_method' to be called once. Called 2 times.
I would expect this to pass. Why does it ignore the arguments?