File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,16 +152,12 @@ def take_screenshot(endpoint,container_tag):
152152 report_tests .append (['Screenshot ' + container_tag ,'PASS' ])
153153 except (requests .Timeout , requests .ConnectionError , KeyError ) as e :
154154 report_tests .append (['Screenshot ' + container_tag ,'FAIL CONNECTION ERROR' ])
155- mark_fail ()
156155 except ErrorInResponseException as error :
157156 report_tests .append (['Screenshot ' + container_tag ,'FAIL SERVER ERROR' ])
158- mark_fail ()
159157 except TimeoutException as error :
160158 report_tests .append (['Screenshot ' + container_tag ,'FAIL TIMEOUT' ])
161- mark_fail ()
162159 except WebDriverException as error :
163160 report_tests .append (['Screenshot ' + container_tag ,'FAIL UNKNOWN' ])
164- mark_fail ()
165161
166162# Main container test logic
167163def container_test (tag ):
You can’t perform that action at this time.
0 commit comments