Cyril Roelandt a4f650e15a Add tests
This adds a test for the 'generate_id' method, and all the configuration needed
to run tests.

Change-Id: Iaf8158da1f96853f3880f1b8e6ade5d466e27c64
2014-01-15 20:44:45 +01:00

27 lines
557 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = pep8,py26,py27,py33
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}
usedevelop = True
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
# Install bounded pep8/pyflakes first, then let flake8 install
deps = pep8==1.4.5
pyflakes==0.7.2
flake8==2.0
hacking>=0.5.6,<0.8
commands =
flake8
[flake8]
exclude=.venv,.git,.tox,*egg,build
show-source = True