aboutsummaryrefslogtreecommitdiff
path: root/test/requests/test-website.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/requests/test-website.py')
-rwxr-xr-xtest/requests/test-website.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/requests/test-website.py b/test/requests/test-website.py
index 7edb42bc..35a69c6c 100755
--- a/test/requests/test-website.py
+++ b/test/requests/test-website.py
@@ -9,7 +9,7 @@ from link_checker import check_links
from link_checker import check_packaged_js_files
from mapping_tests import check_mapping
from navigation_tests import check_navigation
-from correlation_tests import check_correlations
+from correlation_tests import check_correlations, check_correlations_correctness
from main_web_functionality import check_main_web_functionality
import link_checker
import sys
@@ -43,6 +43,7 @@ def run_all(args_obj, parser):
check_packaged_js_files(args_obj, parser)
check_mapping(args_obj, parser)
check_correlations(args_obj, parser)
+ # check_correlations_correctness(args_obj, parser) # activate once all correlations are verified
# TODO: Add other functions as they are created.
@@ -135,6 +136,16 @@ parser.add_argument(
help="Checks that correlations run correctly.",
)
+parser.add_argument(
+ "-e",
+ "--correlations-correctness",
+ dest="accumulate",
+ action="store_const",
+ const=check_correlations_correctness,
+ default=print_help,
+ help="Check that the correlation results are correct"
+)
+
args = parser.parse_args()