Commit 417ace6
committed
tests/test_fixtures: set NOCOLOR=1 allowing plain assertions in pytest --help
argparse [1] enables colors by default since Python 3.14. This breaks
asserting that the help text contains
"--lg-coordinator=COORDINATOR_ADDRESS" due to escape codes and a
different output format.
Fix that by passing NO_COLOR=1 in the test's environment.
[1] https://docs.python.org/3.14/library/argparse.html#color
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent b951de1 commit 417ace6
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
0 commit comments