view tox.ini @ 6772:05437d03bc9e stable

admin: better handling of rescan/delete and invalidate at the same time (Issue #252) It would try to invalidate deleted repositories before rescan would delete them. Instead, scan first, then invalidate. Also, handle VCS error from invalidation and report success as a flash message.
author Mads Kiilerich <madski@unity3d.com>
date Sun, 22 Jan 2017 01:16:52 +0100
parents 768989c595aa
children 6a83b399bb3c
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py{26,27}-{pytest,nose}

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    nose: nose
    pytest: pytest
commands =
    nose: nosetests {posargs}
    pytest: py.test {posargs}