diff options
author | Daniel Lobato GarcĂa <me@daniellobato.me> | 2016-08-18 14:14:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 14:14:32 +0200 |
commit | 4dc8465be0b8f3f13b3a874b259b9c8ea71f02dd (patch) | |
tree | 2ba716d917fb7a75940eac028b7d2687d5ad5910 /tox.ini | |
parent | f399e489e2db052c235152ab9233dbdfa192985c (diff) | |
parent | 03f652e6678bf7933c1e6f5078648e216089f182 (diff) |
Merge pull request #26 from theforeman/tests
Add some tests and conform to pep8
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +[tox] +envlist = pep8, py27 + +[testenv] +install_command = pip install {opts} {packages} +deps = -r{toxinidir}/requirements.txt +sitepackages = True + +[testenv:pep8] +deps = hacking +commands = + flake8 {posargs} + +[testenv:py27] +setenv = + PYTHONHASHSEED = 0 +commands = + python setup.py nosetests --verbosity=3 |