Skip to content

Commit 9e013e5

Browse files
author
Joel Collins
committed
Test default extensions view
1 parent a5706b6 commit 9e013e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_server_default_views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@ def test_docs(thing, thing_client, app_ctx):
22
with thing_client as c:
33
assert c.get("/docs/swagger").json == thing.spec.to_dict()
44
assert c.get("/docs/swagger-ui").status_code == 200
5+
6+
7+
def test_extensions(thing, thing_client, app_ctx):
8+
with thing_client as c:
9+
assert c.get("/extensions").json == []

0 commit comments

Comments
 (0)