
Previously, there were two load_meetings() methods. One was in util.py and one was a member of the Meeting object. This commit combines the two and makes it general enough for both cases. Update tox.ini as well as .testr.conf so that we can run some basic unit tests. An initial test has been added so there is something to run. Change-Id: I44fd693f1a4c0a0efcf99d935123108f22afea36
24 lines
480 B
INI
24 lines
480 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py27,pep8
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:mkical]
|
|
commands = mkdir -p ical
|
|
python arbiter/jobs.py -i ./ical -c
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,*.egg
|