Skip to content

Commit 95ea6b3

Browse files
author
Joel Collins
committed
Coverage for documentation default views
1 parent 968170e commit 95ea6b3

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
@@ -0,0 +1,5 @@
1+
2+
def test_docs(thing, thing_client, app_ctx):
3+
with thing_client as c:
4+
assert c.get("/docs/swagger").json == thing.spec.to_dict()
5+
assert c.get("/docs/swagger-ui").status_code == 200

0 commit comments

Comments
 (0)