diff --git a/examples/singlefile/app.py b/examples/singlefile/app.py index 14a8aff..d620098 100644 --- a/examples/singlefile/app.py +++ b/examples/singlefile/app.py @@ -123,7 +123,7 @@ def test_name_missing(self): We don't have to write (and test!) any validation code in our view! """ res = self.testapp.get("/hello", status=400) - self.assertIn("Missing required parameter: name", res.text) + self.assertIn("Missing required query parameter: name", res.text) def test_name_too_short(self): """A name that is too short is picked up by openapi-core validation.