diff options
author | Daniel Hahler <git@thequod.de> | 2018-10-10 16:56:18 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2018-10-13 23:59:05 +0200 |
commit | 7268462b33954e756cfaaa13da81c3c84c2971ee (patch) | |
tree | d91f68a775af047ddb3a9e61fd974dde507ff3e7 /changelog | |
parent | 24c83d725ad75edecc678344130d91affbacf0f3 (diff) | |
download | pytest-7268462b33954e756cfaaa13da81c3c84c2971ee.tar.gz |
Resolve symlinks for args
This fixes running `pytest tests/test_foo.py::test_bar`, where `tests`
is a symlink to `project/app/tests`: previously
`project/app/conftest.py` would be ignored for fixtures then.
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/4108.bugfix.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelog/4108.bugfix.rst b/changelog/4108.bugfix.rst new file mode 100644 index 000000000..d136d5996 --- /dev/null +++ b/changelog/4108.bugfix.rst @@ -0,0 +1,5 @@ +Resolve symbolic links for args. + +This fixes running ``pytest tests/test_foo.py::test_bar``, where ``tests`` +is a symlink to ``project/app/tests``: +previously ``project/app/conftest.py`` would be ignored for fixtures then. |