Skip to content

Commit 3904b87

Browse files
committed
Fix auto-broken test data file :-)
1 parent 340e0a9 commit 3904b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_dev_help() -> None:
183183
def test_schema() -> None:
184184
with changing_dir(assets_path):
185185
with open("openapi.json") as stream:
186-
expected = stream.read()
186+
expected = stream.read().strip()
187187
assert expected != "", "Failed to read expected result"
188188
result = runner.invoke(app, ["schema", "single_file_app.py"])
189189
assert result.exit_code == 0, result.output

0 commit comments

Comments
 (0)