aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/tests/color.py
AgeCommit message (Collapse)Author
2021-03-12tests/color: Fix event register to pass the datastoreRichard Purdie
Adding the "if d is None" to the event handling code meant some of these tests stopped working. The reason is that len(d) was zero but not equal to None. Passing the data object to the register() function in the test correctly registers the event handler and avoids the problem, it just happened to work previously, incorrectly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-07tests/color: add test suite for ANSI color code filteringChris Laplante
Includes tests for bb.progress integration. Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>