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
It's some Docker containers with some databases we use for testing, that has a mounted volume that ends up belonging to another user. We probably could change that if we were sufficiently motivated, but in either case pytest shouldn't crash just because there's a directory it does not have read access to.
@bluetech the regression (that was added by introducing Directories as is) is that we now collect multiple folders just to get to the given testdirs
@jesnie can you try if a collect ignore is a sufficient workaround for now
@bluetech i believe there is a need to ensure collect-towards for testpaths and/or test ids will in fact not look in other places that may trigger permission errors
Pytest crashes if there is a subdirectory it does not have read access to.
For example:
yields:
I do not believe pytest should be this sensitive to what other subdirectories there might exist.
This is run under Ubuntu 22.04.3 LTS under WSL.
pip list
from the virtual environment you are usingThe text was updated successfully, but these errors were encountered: