From 81162eebd0e820625a5377efc5ed88c4ec1e63f3 Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Tue, 8 Feb 2022 21:28:25 +0530 Subject: [PATCH] issues with HN --- tests/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 8157442..921ff67 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -105,7 +105,7 @@ def test_save() -> None: runner = CliRunner() result = runner.invoke( main, - "--url https://news.ycombinator.com --user_agent my-unique-user-agent \ + "--url https://yahoo.com --user_agent my-unique-user-agent \ --save --headers".split( " " ), @@ -116,7 +116,7 @@ def test_save() -> None: result.output.find("Cached save:\nFalse") != -1 ) assert result.output.find("Save API headers:\n") != -1 - assert result.output.find("://news.ycombinator.com") != -1 + assert result.output.find("yahoo.com") != -1 def test_version() -> None: