#4456 Force terminal width to 80 chars.
Merged by mikem. Opened by jvlcek.
jvlcek/koji RHELBLD-16689_some_unit_tests_fail  into  master

Download 4456.patch

This PR addresses an issue rooted in a pytest bug where the terminal width configuration is ignored causing some tests to fail unless the users runs the tests in a virtual terminal that is 80 chars wide.

By forcing the COLUMNS environment variable to be 80 chars during the test run the tests pass regardless of the size of the virtual terminal they are run in without altering the users COLUMNS env var.

Fixes: https://pagure.io/koji/issue/4439

rebased onto fb3fd87966995dbf423f31826f072a5a3b5c4d7f

:thumbsup:

side note: in order to properly link the PR to the issue, you must the use the full issue url. I've edited the initial comment to adjust this.

:thumbsup:

Metadata Update from @mikem:
- Pull-request tagged with: no_qe

Thanks @mikem

Commit b1814f57 fixes this pull-request

Pull-Request has been merged by mikem

Metadata