Skip to content

Commit 26df2c1

Browse files
authored
test(cli): avoid CodeQL URL substring assertion
test(cli): avoid CodeQL URL substring assertion
2 parents 9225712 + 809b46c commit 26df2c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/cli/test_notebook.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,4 +772,5 @@ def test_metadata_with_url_source(self, runner, mock_auth):
772772
result = runner.invoke(cli, ["metadata"])
773773

774774
assert result.exit_code == 0
775-
assert "https://example.com" in result.output
775+
output_lines = result.output.splitlines()
776+
assert " https://example.com/article" in output_lines

0 commit comments

Comments
 (0)