We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340e0a9 commit 3904b87Copy full SHA for 3904b87
tests/test_cli.py
@@ -183,7 +183,7 @@ def test_dev_help() -> None:
183
def test_schema() -> None:
184
with changing_dir(assets_path):
185
with open("openapi.json") as stream:
186
- expected = stream.read()
+ expected = stream.read().strip()
187
assert expected != "", "Failed to read expected result"
188
result = runner.invoke(app, ["schema", "single_file_app.py"])
189
assert result.exit_code == 0, result.output
0 commit comments