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
I've used pytest-mock to implement an actual test here now. Originally, I was just checking the commands executed without raising any errors, but it makes sense to more rigorously check that the first function call downloads the data and the second one reloads it from disk.
The test simply calls
load_pretrained
twice, but doesn't do anything with the results:unlockNN/tests/test_download.py
Lines 11 to 17 in 128b192
The text was updated successfully, but these errors were encountered: