diff options
author | Timothy Knight <tknight@google.com> | 2014-10-12 12:06:11 -0700 |
---|---|---|
committer | Timothy Knight <tknight@google.com> | 2014-10-12 12:06:11 -0700 |
commit | 37c39203b4d48ef976a86d4c34d31b3d41a03c6a (patch) | |
tree | 4d1399ae371a364bdb9fef58d9bff07d02991551 /apps | |
parent | 0ede0c444f91fe24ab366487f05b316da634fdc6 (diff) | |
download | pdk-37c39203b4d48ef976a86d4c34d31b3d41a03c6a.tar.gz |
CameraITS: Simplifed pass/fail for flash test
Change-Id: I20143bfcfaf27c6e417b5ffb24583a9cc4f35817
Diffstat (limited to 'apps')
-rw-r--r-- | apps/CameraITS/tests/scene1/test_param_flash_mode.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/CameraITS/tests/scene1/test_param_flash_mode.py b/apps/CameraITS/tests/scene1/test_param_flash_mode.py index a1aaf92..3ab64cf 100644 --- a/apps/CameraITS/tests/scene1/test_param_flash_mode.py +++ b/apps/CameraITS/tests/scene1/test_param_flash_mode.py @@ -26,8 +26,6 @@ def main(): """ NAME = os.path.basename(__file__).split(".")[0] - MIN_BRIGHTNESS_DELTA = 0.1 - with its.device.ItsSession() as cam: flash_modes_reported = [] @@ -58,8 +56,8 @@ def main(): assert(flash_states_reported[2] in [3,4]) print "G brightnesses:", g_means - assert(g_means[1] > g_means[0] + MIN_BRIGHTNESS_DELTA) - assert(g_means[2] > g_means[0] + MIN_BRIGHTNESS_DELTA) + assert(g_means[1] > g_means[0]) + assert(g_means[2] > g_means[0]) if __name__ == '__main__': main() |