summaryrefslogtreecommitdiff
path: root/subprojects/gtest.wrap
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-11-05 02:03:14 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-11-05 15:28:13 +0200
commit876730d805bb48ac0b458f557b09f66eb0c694d5 (patch)
tree91cfcee178419cb0ff64ac21dda071ed39a722f1 /subprojects/gtest.wrap
parent7ff6fd9774e5697eebddc28170d8cb36b1ad4c37 (diff)
test: py: Fix log level restore in SimpleTestMethods()
The SimpleTestMethods() function tests that incorrect calls to the Camera.acquire() method raise an exception. Before doing so, it sets the log level for the Camera category to FATAL, in order to avoid showing misleading errors in the test log, and then restores the log level to ERROR after running the test. ERROR is however not the default log level. Restore the log level to INFO instead, in order to avoid losing log messages in subsequent tests. Fixes: 06cb7130c4fa ("py: Add unittests.py") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'subprojects/gtest.wrap')
0 files changed, 0 insertions, 0 deletions