diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2019-12-24 12:18:45 +0000 |
---|---|---|
committer | Chandan Singh <chandan@chandansingh.net> | 2019-12-24 15:26:22 +0000 |
commit | 2256ba6eea248b4e4f3fe827d61431fa6d63229e (patch) | |
tree | d26c150e4b6332c24bc186469cecb850f78dc1b9 /setup.cfg | |
parent | 7265eebacfa2f19cbd93f1e89f98ea211654f7bf (diff) | |
download | buildstream-2256ba6eea248b4e4f3fe827d61431fa6d63229e.tar.gz |
setup.cfg: Don't collect tests from src directory
Generally we don't have any tests in the `src` directory so we don't
need to collect anything from that directory. The only exception to this
are the `sourcetests`, but they add their own collection hook so they
are not affected by this.
This fixes an issue where pytest gets confused upon finding two
different `conftest.py` modules - one in the `src` directory and one in
the virtual environment.
Fixes #1121.
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ parentdir_prefix = BuildStream- [tool:pytest] addopts = --verbose --basetemp ./tmp --durations=20 --timeout=900 -norecursedirs = tests/integration/project integration-cache tmp __pycache__ .eggs +norecursedirs = src tests/integration/project integration-cache tmp __pycache__ .eggs python_files = tests/*/*.py env = D:BST_TEST_SUITE=True |