Skip to content

Commit

Permalink
Verbose test.abort()
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel authored Dec 24, 2020
1 parent 61adfa0 commit c21a88b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions unit-tests/func/test-set-option.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def check_color_frame_drops(frame):
except:
option_name = "Depth sensor - " + str(option)
test.info(option_name, new_value)
test.unexpected_exception(True)
test.unexpected_exception()
test.abort()

for option in color_options:
try:
Expand All @@ -102,7 +103,8 @@ def check_color_frame_drops(frame):
except:
option_name = "Color sensor - " + str(option)
test.info(option_name, new_value)
test.unexpected_exception(True)
test.unexpected_exception()
test.abort()

test.finish()
#############################################################################################
Expand Down

0 comments on commit c21a88b

Please sign in to comment.