Skip to content

Commit 81162ee

Browse files
authored
issues with HN
1 parent ca4f79a commit 81162ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_save() -> None:
105105
runner = CliRunner()
106106
result = runner.invoke(
107107
main,
108-
"--url https://news.ycombinator.com --user_agent my-unique-user-agent \
108+
"--url https://yahoo.com --user_agent my-unique-user-agent \
109109
--save --headers".split(
110110
" "
111111
),
@@ -116,7 +116,7 @@ def test_save() -> None:
116116
result.output.find("Cached save:\nFalse") != -1
117117
)
118118
assert result.output.find("Save API headers:\n") != -1
119-
assert result.output.find("://news.ycombinator.com") != -1
119+
assert result.output.find("yahoo.com") != -1
120120

121121

122122
def test_version() -> None:

0 commit comments

Comments
 (0)