Skip to content

Commit

Permalink
chore: test remote config endpoint temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
simojo committed Nov 11, 2023
1 parent 811a716 commit dd0ea8e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit dd0ea8e

Please sign in to comment.