/cc @tomchristie

This commit is contained in:
2018-10-16 03:59:43 -07:00
parent 08c30f4baf
commit ebf129edd3
+12
View File
@@ -321,3 +321,15 @@ def test_schema_generation():
assert dump
assert dump["openapi"] == "3.0"
@pytest.mark.xfail
def test_mount_wsgi_app(api, flask, session):
@api.route("/")
def hello(req, resp):
resp.text = "hello"
api.mount("/flask", flask)
r = session.get("http://;/flask")
assert r.ok