Merge pull request #2263 from coreos-inc/FIX-test-runner

fix(setup.cfg): test only our stuff
This commit is contained in:
Erica 2016-12-30 15:19:13 -05:00 committed by GitHub
commit e658941a43
2 changed files with 5 additions and 3 deletions

View file

@ -157,13 +157,14 @@ RUN if [ "$RUN_TESTS" = true ]; then \
venv/bin/pip install -r requirements-tests.txt ;\
fi
RUN if [ "$RUN_TESTS" = true ]; then \
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=3600 --verbose \
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=7200 --verbose \
--show-count -x --color=no ./; \
fi
RUN if [ "$RUN_TESTS" = true ]; then \
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=3600 --verbose \
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=7200 --verbose \
--show-count -x --color=no test/registry_tests.py ; \
fi

View file

@ -1,6 +1,7 @@
[tool:pytest]
norecursedirs = .* *.egg build dist docs
norecursedirs = .* *.egg build dist docs bin boot core dev etc home lib lib64 media mnt node_modules opt proc root run sbin srv sys tmp usr var venv
testpaths = ./
python_files = **/test/*.py test/**.py
[coverage:run]
branch = True