Skip to content

Commit

Permalink
Fix auto-broken test data file :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlasevich committed Sep 19, 2024
1 parent 340e0a9 commit 3904b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def test_dev_help() -> None:
def test_schema() -> None:
with changing_dir(assets_path):
with open("openapi.json") as stream:
expected = stream.read()
expected = stream.read().strip()
assert expected != "", "Failed to read expected result"
result = runner.invoke(app, ["schema", "single_file_app.py"])
assert result.exit_code == 0, result.output
Expand Down

0 comments on commit 3904b87

Please sign in to comment.