From dd0ea8ed11555e14ebd0d7ecad8b8002086b6f39 Mon Sep 17 00:00:00 2001 From: Simon Jones Date: Sat, 11 Nov 2023 17:45:43 -0500 Subject: [PATCH] chore: test remote config endpoint temporarily --- tests/test_main.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index 5e0963ae..913e2aff 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -248,7 +248,8 @@ def test_cli_analyze_incorrect_arguments_correct_config(tmpdir): def test_cli_analyze_url_config(cwd): """Confirm that using the command-line interface correctly handles a valid URL configuration.""" # use config files found in chasten-configuration remotely - config_url = f"https://raw.githubusercontent.com/AstuteSource/chasten-configuration/config_url_checks_file.yml" + # config_url = f"https://raw.githubusercontent.com/AstuteSource/chasten-configuration/master/config_url_checks_file.yml" + config_url = f"https://raw.githubusercontent.com/simojo/chasten-configuration/master/config_url_checks_file.yml" project_name = "test" # call the analyze command result = runner.invoke( @@ -269,7 +270,8 @@ def test_cli_analyze_url_config(cwd): def test_cli_analyze_url_config_with_local_checks_file(cwd): """Confirm that using the command-line interface aborts execution when given a URL config that uses a local file path to specify checks files.""" # use config files found in chasten-configuration remotely - config_url = f"https://raw.githubusercontent.com/AstuteSource/chasten-configuration/config.yml" + # config_url = f"https://raw.githubusercontent.com/AstuteSource/chasten-configuration/master/config.yml" + config_url = f"https://raw.githubusercontent.com/simojo/chasten-configuration/master/config.yml" project_name = "test" # call the analyze command result = runner.invoke( @@ -333,7 +335,8 @@ def test_cli_analyze_local_config_with_url_and_local_checks_files(cwd): def test_cli_analyze_url_config_with_url_and_local_checks_files(cwd): """Confirm that using the command-line interface aborts execution when given a URL config that references a combination of URL endpoints and local files for each checks file.""" # use config files found in chasten-configuration remotely - config_url = f"https://raw.githubusercontent.com/AstuteSource/chasten-configuration/config_url_and_local_checks_files.yml" + # config_url = f"https://raw.githubusercontent.com/AstuteSource/chasten-configuration/master/config.yml" + config_url = f"https://raw.githubusercontent.com/simojo/chasten-configuration/master/config.yml" project_name = "test" # call the analyze command result = runner.invoke(