Skip to content

Commit

Permalink
fix singlefile example test
Browse files Browse the repository at this point in the history
  • Loading branch information
zupo committed Mar 7, 2024
1 parent c1c0f0b commit b019dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/singlefile/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b019dd8

Please sign in to comment.