Set COLUMNS for tests to handle different terminals
This commit is contained in:
parent
8ae2d9be41
commit
c3f42e2ed5
1 changed files with 4 additions and 0 deletions
4
tox.ini
4
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue