mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Run py.test in tox.ini
This commit is contained in:
2
pytest.ini
Normal file
2
pytest.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
[pytest]
|
||||
addopts = --assert=plain
|
||||
11
tox.ini
11
tox.ini
@@ -4,13 +4,12 @@ envlist = py25, py26, py27, py32
|
||||
setenv =
|
||||
XDG_CACHE_HOME={envtmpdir}/cache
|
||||
deps =
|
||||
nose
|
||||
pytest
|
||||
commands =
|
||||
python regression.py
|
||||
python run.py
|
||||
python refactor.py
|
||||
nosetests --with-doctest --doctest-tests {toxinidir}/jedi
|
||||
changedir = test
|
||||
py.test []
|
||||
# Doctests can't be run with the main tests because then py.test
|
||||
# tries to import broken python files under test/*/.
|
||||
py.test --doctest-modules {toxinidir}/jedi
|
||||
[testenv:py25]
|
||||
deps =
|
||||
simplejson
|
||||
|
||||
Reference in New Issue
Block a user