| |
@@ -23,6 +23,7 @@
|
| |
sitepackages = true
|
| |
setenv =
|
| |
COLUMNS=80
|
| |
+ LANG=C
|
| |
# Expected that python-rpm is installed on the host
|
| |
# If rpm's python bindings are missing, don't continue
|
| |
# Also, because coverage might be installed system-wide and it serves as our
|
| |
@@ -36,13 +37,13 @@
|
| |
[testenv:py3]
|
| |
deps =
|
| |
-r{toxinidir}/test-requirements.txt
|
| |
- setenv =
|
| |
+ setenv =
|
| |
{[testenv]setenv}
|
| |
PYTHONPATH=.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib
|
| |
commands_pre =
|
| |
{[testenv]commands_pre}
|
| |
python -m coverage erase --rcfile .coveragerc3
|
| |
- commands =
|
| |
+ commands =
|
| |
python -m pytest -n auto --cov --cov-config .coveragerc3 --cov-report=html
|
| |
|
| |
[testenv:py2]
|
| |
I'm often getting weird thread collisions in
cs_CZ.UTF-8
. It seems to be limited to path handling intest_prune_signed_copies.py
while errors are gone when running underC
. One of the errors is here (other one is about already deleted path there, I can't get reproduce it now).