# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py35
skipsdist = True

[pytest]
testpaths = tests

[testenv]
deps =
    coverage
    mock
    pytest
    -r{toxinidir}/requirements.txt
commands = coverage run --source bouncer,tests/bouncer -m pytest {posargs:tests/bouncer/}

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py3
skipsdist = True

[pytest]
testpaths = tests

[testenv]
deps =
    coverage
    mock
    pytest
    -r{toxinidir}/requirements.txt
commands = coverage run --source bouncer,tests/bouncer -m pytest {posargs:tests/bouncer/}

Allow the tests to run on Python 3.6
Allow the tests to run on Python 3.6

On for example Ubuntu 17.10 Python 3.6 is installed but Python 3.5
isn't, but the tests were configured to run on 3.5 only. This changes
them to run on any Python 3.x.
