Skip to content

Commit

Permalink
make ipdb avaliable in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed Sep 29, 2016
1 parent 4bc926f commit d3704c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytest.ini
@@ -1,2 +1,2 @@
[pytest]
addopts = tests
addopts = -s tests
5 changes: 4 additions & 1 deletion tox.ini
Expand Up @@ -5,11 +5,14 @@ envlist = coverage-clean,py{27,34,35,36,py},coverage-report
install_command = pip install --egg {opts} {packages}
usedevelop = True
commands =
py.test --cov=src --cov-report=xml {posargs}
# py.test --cov=src --cov-report=xml {posargs}
py.test --pdb --cov=src --cov-report=xml {posargs}
setenv =
COVERAGE_FILE=.coverage.{envname}
deps =
.[test]
ipdb
ipython
pytest < 3.0
pytest-cov
pytest-remove-stale-bytecode
Expand Down

0 comments on commit d3704c8

Please sign in to comment.