aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/utils
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/utils')
-rw-r--r--xtesting/utils/env.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/xtesting/utils/env.py b/xtesting/utils/env.py
index 73acf3b8..042ab675 100644
--- a/xtesting/utils/env.py
+++ b/xtesting/utils/env.py
@@ -10,6 +10,7 @@
# pylint: disable=missing-docstring
import os
+import textwrap
import prettytable
@@ -39,5 +40,6 @@ def string():
header_style='upper', padding_width=5,
field_names=['env var', 'value'])
for env_var in INPUTS:
- msg.add_row([env_var, get(env_var) if get(env_var) else ''])
+ msg.add_row([env_var, textwrap.fill(get(env_var), width=50) if get(
+ env_var) else ''])
return msg