aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api/__init__.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-23 09:41:07 -0800
committerGravatar MarkKoz <[email protected]>2020-02-23 09:41:23 -0800
commit226413a9705aa8119a0b8f66418b7e02ab76cb65 (patch)
treecac8d7d53e3e32e3f20125662ceef4604ab0303c /tests/api/__init__.py
parentCI: output flake8 to stdout (resolve #37) (diff)
CI: fix can_pull causing script to exit with code 1
Error handling is performed inside can_pull so the callers of the function don't always check its exit code. Because set -e present, if can_pull returns 1, bash would consider that function a failed call and thus exit the entire script with code 1. That, in turn, would cause the CI job to fail.
Diffstat (limited to 'tests/api/__init__.py')
0 files changed, 0 insertions, 0 deletions