Set COLUMNS for tests to handle different terminals

This commit is contained in:
Tomas Kopecek 2023-04-18 13:42:28 +02:00
parent 8ae2d9be41
commit c3f42e2ed5

View file

@ -24,9 +24,13 @@ sitepackages = true
# from source
setenv =
RPM_PY_INSTALL_BIN=true
COLUMNS=80
# If rpm's python bindings are missing, don't continue
# Also, because coverage might be installed system-wide and it serves as our
# entry point, let's make sure it's installed in the virtualenv.
#
# COLUMNS setting is propagated to optparse and ensures that formatted text
# is same in the CLI output on all platforms
commands_pre =
{envbindir}/python -c "import rpm"
pip install -I coverage