aboutsummaryrefslogtreecommitdiff
path: root/test/requests
diff options
context:
space:
mode:
Diffstat (limited to 'test/requests')
-rw-r--r--test/requests/correlation_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py
index 14f9c569..aa1b7b16 100644
--- a/test/requests/correlation_tests.py
+++ b/test/requests/correlation_tests.py
@@ -1,3 +1,4 @@
+import sys
import requests
from lxml.html import parse
from link_checker import check_page
@@ -92,5 +93,5 @@ def check_correlations(args_obj, parser):
if failure:
print("FAIL!")
- return
+ sys.exit(1)
print("OK")