Mercurial > kallithea
view tox.ini @ 5801:15c40f8a3510
pytest migration: convert functional tests with setup/teardown methods
pytest also supports setup/teardown methods like unittest (even though
pytest fixtures are more powerful and should be the end goal).
Only difference is the naming and signature of setUp (setup_method) and
tearDown (teardown_method).
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Tue, 26 Apr 2016 17:35:13 +0200 |
parents | 6a83b399bb3c |
children | b2195895bbd7 |
line wrap: on
line source
[tox] minversion = 1.8 envlist = py{26,27}-pytest [testenv] setenv = PYTHONHASHSEED = 0 deps = pytest: pytest commands = pytest: py.test {posargs}