Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a821578

Browse files
committed
fix mocked assert
1 parent 7309347 commit a821578

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cloudside/tests/test_asos.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_fetch_files(ftp_login, ftp_retr):
143143
)
144144
assert isinstance(raw_paths, filter)
145145
assert all([(isinstance(rp, pathlib.Path) or (rp is None)) for rp in raw_paths])
146-
assert ftp_login.called_once_with("[email protected]")
146+
ftp_login.assert_called_once_with("[email protected]")
147147
assert ftp_retr.call_count == 5
148148

149149

0 commit comments

Comments
 (0)