Skip to content

Commit e5ab3d6

Browse files
authored
Merge pull request #1198 from dimaqq/chore-remove-xdist
#1198 pytest-xdist somehow eats live logs. to test, run something like: `uvx tox -e unit -- --log-cli-level=INFO`
2 parents 491d2a1 + 86fa506 commit e5ab3d6

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ usedevelop=True
2222
commands =
2323
pip install urllib3<2
2424
pip install pylxd
25-
python -m pytest --tb native -ra -v -s -n auto -k 'not integration' -m 'not serial' {posargs}
25+
python -m pytest --tb native -ra -v -s -k 'not integration' -m 'not serial' {posargs}
2626
passenv =
2727
HOME
2828
TEST_AGENTS
@@ -36,7 +36,6 @@ deps =
3636
mock
3737
pytest
3838
pytest-asyncio
39-
pytest-xdist
4039
Twine
4140
websockets<14.0
4241
kubernetes<31.0.0
@@ -60,7 +59,7 @@ commands =
6059
pip install pylxd
6160
python -m pytest \
6261
--tb native \
63-
-ra -v -n 1 \
62+
-ra -v \
6463
-k 'integration' \
6564
--ignore {toxinidir}/tests/integration/test_crossmodel.py \
6665
--ignore {toxinidir}/tests/integration/test_model.py \
@@ -74,7 +73,7 @@ commands =
7473
pip install pylxd
7574
python -m pytest \
7675
--tb native \
77-
-ra -v -n 1 \
76+
-ra -v \
7877
-m 'not serial' \
7978
{posargs} \
8079
{toxinidir}/tests/integration/test_crossmodel.py \
@@ -85,7 +84,7 @@ envdir = {toxworkdir}/py3
8584
commands =
8685
pip install urllib3<2
8786
pip install pylxd
88-
python -m pytest --tb native -ra -v -n auto {toxinidir}/tests/unit {posargs}
87+
python -m pytest --tb native -ra -v {toxinidir}/tests/unit {posargs}
8988

9089
[testenv:serial]
9190
# tests that can't be run in parallel

0 commit comments

Comments
 (0)