diff --git a/tests/test_cli.py b/tests/test_cli.py index 12b20bf..da861e3 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -163,8 +163,8 @@ def test_full_run_no_redirect(capsys): def test_full_run_with_redirect(capsys): """Validate output for a given URL that has a redirect.""" expected_output = [ - "Results for http://rules.ncats.cyber.dhs.gov:", - " Retrieved URL - 'https://rules.ncats.cyber.dhs.gov/'", + "Results for http://rules.vm.cyber.dhs.gov:", + " Retrieved URL - 'https://rules.vm.cyber.dhs.gov/'", " Status code - '200'", " Content type - 'text/plain'", " Redirect - True", @@ -174,7 +174,7 @@ def test_full_run_with_redirect(capsys): with patch.object( sys, "argv", - ["bogus", "--show-redirect", "http://rules.ncats.cyber.dhs.gov"], + ["bogus", "--show-redirect", "http://rules.vm.cyber.dhs.gov"], ): return_code = cli.main() except SystemExit as sys_exit: diff --git a/tests/test_hasher.py b/tests/test_hasher.py index c6a728a..f010f0f 100644 --- a/tests/test_hasher.py +++ b/tests/test_hasher.py @@ -242,7 +242,7 @@ def test_hash_url_html_status_404(): def test_hash_url_with_redirect(): """Test against a URL that redirects and has no content-type parameters.""" - test_url = "http://rules.ncats.cyber.dhs.gov" + test_url = "http://rules.vm.cyber.dhs.gov" hasher = hash_http_content.UrlHasher(HASH_ALGORITHM) result = hasher.hash_url(test_url)