Skip to content

Commit 587131c

Browse files
committed
fix: test
1 parent 76b1cb6 commit 587131c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/functional/event_handler/test_openapi_servers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def test_openapi_schema_custom_server():
1717
schema = app.get_openapi_schema(
1818
title="Hello API",
1919
version="1.0.0",
20-
servers=[Server(url="https://example.org", description="Example website")],
20+
servers=[Server(url="https://example.org/", description="Example website")],
2121
)
2222

2323
assert schema.servers
2424
assert len(schema.servers) == 1
25-
assert str(schema.servers[0].url) == "https://example.org"
25+
assert str(schema.servers[0].url) == "https://example.org/"
2626
assert schema.servers[0].description == "Example website"

0 commit comments

Comments
 (0)