Changes SUCCESS/FAILED from reflecting return code value to expected value with PASS/FAIL, and shows expected value on testcase failure.
rebased
Some thoughts:
Ah okay, was led astray by the commit message. Will merge with minor fixups in a moment.
Commit 39b0ffd4 fixes this pull-request
Pull-Request has been merged by ascheel@redhat.com
Did this commit remove the coloring and the fallback ? Why!?
I mean, ok to remove OO/XX if it feels it makes it harder to read, but this commit removed all coloring and I am not happy about that.
Simo,
This removes OO/XX only -- note that the branch with colorama remains. Further, rather than relying solely on color/"OO/XX colors" to denote whether the particular test case performed as expected, we use PASS/FAIL to indicate what each test did. This gives a consistent look between having colorama and not.
Then, if the test case didn't perform as expected, after the return value, we denote what should've happened in parenthesis.
TL;DR: coloring remains, unified display with and without coloring, expected result more clearly displayed.
Hopefully that is a little more clear :)
-- Alex
Doh, so sorry, I should have read better, or better yet, just run make tests immediately.
Thanks for clarifying, I liked the PASS/FAIL change just not losing colors
Commit a045a3a0 fixes this pull-request
Changes SUCCESS/FAILED from reflecting return code value to
expected value with PASS/FAIL, and shows expected value on
testcase failure.