Skip to content

Commit

Permalink
fix mocked assert
Browse files Browse the repository at this point in the history
  • Loading branch information
phobson committed Dec 17, 2024
1 parent 7309347 commit a821578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudside/tests/test_asos.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_fetch_files(ftp_login, ftp_retr):
)
assert isinstance(raw_paths, filter)
assert all([(isinstance(rp, pathlib.Path) or (rp is None)) for rp in raw_paths])
assert ftp_login.called_once_with("[email protected]")
ftp_login.assert_called_once_with("[email protected]")
assert ftp_retr.call_count == 5


Expand Down

0 comments on commit a821578

Please sign in to comment.