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 have multiple directories with snapshot tests and when I run the tests, snapshots are not found with errors like this:
===================================================================== ERRORS =====================================================================
_______________________________________ ERROR collecting tests/processor/snapshots/snap_test_change_log.py _______________________________________
.venv/lib/python3.8/site-packages/py/_path/local.py:701: in pyimport
__import__(modname)
E ModuleNotFoundError: No module named 'snapshots.snap_test_foo'
_______________________________________ ERROR collecting tests/processor/snapshots/snap_test_data_types.py _______________________________________
.venv/lib/python3.8/site-packages/py/_path/local.py:701: in pyimport
__import__(modname)
E ModuleNotFoundError: No module named 'snapshots.snap_test_bar'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
My (hacky) solution is to have one snapshot directory and symlink the directory into all places where snapshots are taken
The text was updated successfully, but these errors were encountered:
I have multiple directories with snapshot tests and when I run the tests, snapshots are not found with errors like this:
My (hacky) solution is to have one
snapshot
directory and symlink the directory into all places where snapshots are takenThe text was updated successfully, but these errors were encountered: