You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 2, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 2, 2021. It is now read-only.
Exit webrunner with 1 instead of 0 on assert failure #8
Not sure if this related to PyWebRunner, but was doing some tests with Travis and jumped into an issue with running YAML scripts with webrunner. Namely if an assert fails, Travis still exists with success status:
Activity
ivansabik commentedon Nov 13, 2016
By doing a quick skim of the code I can think of two possibilities for now, adding
sys.exit(1)here:Or adding a new arg to the stop method something like
def stop(self, sys_exit_error=True): https://github.com/IntuitiveWebSolutions/PyWebRunner/blob/master/PyWebRunner/WebRunner.py#L218