libcamera/test/py
Tomi Valkeinen 9f5b790800 py: unittests: Fix test_sleep()
Waiting for 0.5 secs and expecting that the requests have been completed
is... bad. Fix the test case by using cam.read_event() as a blocking
wait, and wait until we have received all the requests that we queued.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-06-01 12:08:42 +03:00
..
meson.build py: Add unittests.py 2022-05-10 13:53:43 +02:00
unittests.py py: unittests: Fix test_sleep() 2022-06-01 12:08:42 +03:00