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
Project I'm working on is using wrapper around pytest that automatically generates few required custom parameters and we recently found issue with explicit file paths. As I was not able to narrow down the problem to simple & small use case, repository https://github.com/Novakov/pytest-path-problem contains detailed description and reproduction of the issue.
It can be summarised with: how can I tell pytest to use directory X if no other directory/file is provided (so call pytest --base-dir=X is equal to pytest X and pytest --base-dir=X file1.py is equal to pytest file1.py).
It is quite possible that it is not possible to do (and I'm okay with that) but I'm not giving up hope yet, any suggestion what I can try is welcome.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Project I'm working on is using wrapper around pytest that automatically generates few required custom parameters and we recently found issue with explicit file paths. As I was not able to narrow down the problem to simple & small use case, repository https://github.com/Novakov/pytest-path-problem contains detailed description and reproduction of the issue.
It can be summarised with: how can I tell pytest to use directory X if no other directory/file is provided (so call
pytest --base-dir=X
is equal topytest X
andpytest --base-dir=X file1.py
is equal topytest file1.py
).It is quite possible that it is not possible to do (and I'm okay with that) but I'm not giving up hope yet, any suggestion what I can try is welcome.
Beta Was this translation helpful? Give feedback.
All reactions