diff options
Diffstat (limited to 'apps/CameraITS/tests/scene0/test_unified_timestamps.py')
-rw-r--r-- | apps/CameraITS/tests/scene0/test_unified_timestamps.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/CameraITS/tests/scene0/test_unified_timestamps.py b/apps/CameraITS/tests/scene0/test_unified_timestamps.py index 0359fae..f31ef22 100644 --- a/apps/CameraITS/tests/scene0/test_unified_timestamps.py +++ b/apps/CameraITS/tests/scene0/test_unified_timestamps.py @@ -14,6 +14,7 @@ import its.device import its.objects +import its.caps import os.path import time @@ -25,6 +26,11 @@ def main(): with its.device.ItsSession() as cam: props = cam.get_camera_properties() + # Only run test if the appropriate caps are claimed. + if not its.caps.sensor_fusion(props): + print "Test skipped" + return + # Get the timestamp of a captured image. req, fmt = its.objects.get_fastest_manual_capture_settings(props) cap = cam.do_capture(req, fmt) |