Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prior implementation ran `assert ...MagicMock.called_with(...)` `called_with` is not a real test method on MagicMock, so it returns a MagicMock instance by default, which is truthy and evaluates to true by assert. This test wasn't checking for anything and would pass no matter what actually happened in the code. These new tests check for the intended methods being called.
- Loading branch information