HOME
TEST_AGENTS
deps =
+ asynctest
+ ipdb
+ mock
pytest
pytest-asyncio
pytest-xdist
- mock
- asynctest
- ipdb
+ Twine
+ # use fork to pick up fix for https://github.com/aaugustin/websockets/pull/528
+ git+https://github.com/johnsca/websockets@bug/client-redirects#egg=websockets
[testenv:py3]
# default tox env excludes integration and serial tests
[testenv:lint]
envdir = {toxworkdir}/py3
commands =
- flake8 --ignore E501 {posargs} juju tests
-deps =
- flake8
-
-[testenv:lint]
-envdir = {toxworkdir}/py35
-commands =
- flake8 --ignore E501 {posargs} juju
+ flake8 --ignore E501,W504 {posargs} juju tests
deps =
flake8
[testenv:integration]
envdir = {toxworkdir}/py3
-commands = py.test --tb native -ra -v -s -n auto -k 'integration' -m 'not serial' {posargs}
+commands =
+ # These need to be installed in a specific order
+ pip install urllib3==1.22
+ pip install pylxd
+ py.test --tb native -ra -v -s -n auto -k 'integration' -m 'not serial' {posargs}
[testenv:serial]
# tests that can't be run in parallel