Open acbart opened 3 years ago
In this case, I think that the order of the arguments should also matter (unless it's a named argument), so we'd need to pass in something to specify which argument you are talking about. But that seems like a solid addition to the assertions library.
This seems to me like it should be a new assertion, of some kind, though I'm not entirely clear what it would look like. Something like assert_function_called_with_type and then you pass in the values for isinstance?