summaryrefslogtreecommitdiffstats
path: root/bitbake/README
diff options
context:
space:
mode:
authorPeter Hoyes <Peter.Hoyes@arm.com>2023-06-16 13:36:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-27 15:28:56 +0100
commitfd1d2c6dc73e084918b4290214652bcff9b99261 (patch)
tree8ccec2318f0d0488c8a07410744608cca374787b /bitbake/README
parent8b0fc4850dc31bb7e7be0001414468b1d3f80846 (diff)
downloadpoky-fd1d2c6dc73e084918b4290214652bcff9b99261.tar.gz
bitbake: bitbake: tests: Use assertLogs to test logging output
By default, pytest captures all stdout and exposes it using its built-in fixtures (capsys, caplog etc), so stdout does not support getvalue(). To support running tests using both unittest and pytest, use assertLogs to capture logging and assert on the log output instead. (Bitbake rev: 2d28caa01bab9540d2bbaf713ae3e5c563d003f5) Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/README')
0 files changed, 0 insertions, 0 deletions