Skip to content

Commit

Permalink
Put a ceiling for urllib3 in tests (<2)
Browse files Browse the repository at this point in the history
  • Loading branch information
cderici committed Jan 10, 2024
1 parent aea5b58 commit e61bb7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ filterwarnings =
[testenv]
usedevelop=True
commands =
pip install urllib3<2
pip install pylxd
python -m pytest --tb native -ra -v -s -n auto -k 'not integration' -m 'not serial' {posargs}
passenv =
Expand Down Expand Up @@ -58,19 +59,22 @@ deps =
[testenv:integration]
envdir = {toxworkdir}/py3
commands =
pip install urllib3<2
pip install pylxd
python -m pytest --tb native -ra -v -n auto -k 'integration' -m 'not serial' {posargs}

[testenv:unit]
envdir = {toxworkdir}/py3
commands =
pip install urllib3<2
pip install pylxd
python -m pytest --tb native -ra -v -n auto {toxinidir}/tests/unit {posargs}

[testenv:serial]
# tests that can't be run in parallel
envdir = {toxworkdir}/py3
commands =
pip install urllib3<2
pip install pylxd
python -m pytest --tb native -ra -v -s {posargs:-m 'serial'}

Expand Down

0 comments on commit e61bb7a

Please sign in to comment.