
1. Remove pep8 testing on tests directory 2. Use realish world data on Nova tests 3. Use 'with' instead of '@' decorators. Turns out the sub-functions weren't being run so no testing is being done 4. Fix Nova test cases so they actually work
17 lines
294 B
INI
17 lines
294 B
INI
[tox]
|
|
envlist = py27,pep8,pyflakes
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
commands = py.test
|
|
|
|
[testenv:py27]
|
|
|
|
[testenv:pep8]
|
|
commands = py.test --pep8 -k pep8 --clearcache libra
|
|
|
|
[testenv:pyflakes]
|
|
deps = pyflakes
|
|
commands = pyflakes libra
|