commit | 452eead348c5397f32deff871f85cd833562223b | [log] [tgz] |
---|---|---|
author | Clemenz Portmann <[email protected]> | Mon Feb 08 13:55:12 2021 -0800 |
committer | Clemenz Portmann <[email protected]> | Mon Feb 08 13:57:24 2021 -0800 |
tree | 2fe9e623891f589d557a4a0a452d6958ccf2d54a | |
parent | c8b1ca170f766b388b8489be5086b7b5f92dceef [diff] [blame] |
ITS: fix sc-dev unittest errors bug: 179702327 Change-Id: Ib1f4eaf7518dd83555cd593b76c3da88e27bf074
diff --git a/apps/CameraITS2.0/utils/target_exposure_utils.py b/apps/CameraITS2.0/utils/target_exposure_utils.py index a31f951..04c5f2e 100644 --- a/apps/CameraITS2.0/utils/target_exposure_utils.py +++ b/apps/CameraITS2.0/utils/target_exposure_utils.py
@@ -17,6 +17,8 @@ import logging import os import sys +import unittest + import capture_request_utils import image_processing_utils import its_session_utils @@ -245,3 +247,7 @@ # Compute the exposure value that would result in a luma of 0.5. return sens * exp_time * 0.5 / luma_mean[0] + + +if __name__ == '__main__': + unittest.main()