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
Otherwise, the user has to do that all the time to avoid the following error:
Here's a basic test case
importmockdeftest_equals_handles_mock_call_list():
".equal() Should convert mock._CallList instances to lists"# Given the following mocked callbackcallback=mock.Mock()
# When I call the callback with a few parameters twicecallback(a=1, b=2)
callback(a=3, b=4)
# Then I see I can compare the call list without manually# converting anythingcallback.call_args_list.should.equal([
mock.call(a=1, b=2),
mock.call(a=3, b=4),
])
The text was updated successfully, but these errors were encountered:
Otherwise, the user has to do that all the time to avoid the following error:
Here's a basic test case
The text was updated successfully, but these errors were encountered: