dev-python/typer: set environment variables for tests

some tests depend on the terminal width
This commit is contained in:
odrling 2024-03-31 06:22:40 +02:00
parent d0dac0462c
commit 157bc0b201
No known key found for this signature in database
GPG key ID: EC907F69A27A90C5

View file

@ -39,3 +39,10 @@ RDEPEND="
"
distutils_enable_tests pytest
src_test() {
export TERMINAL_WIDTH=3000
export _TYPER_FORCE_DISABLE_TERMINAL=1
distutils-r1_src_test "${@}"
}