Commit graph

7 commits

Author SHA1 Message Date
8ae5937631 Upgrade openapi-core to 0.13.8
Handle updated exceptions.
2021-05-07 14:24:45 -04:00
118c23e704 Do not validate test requests using absolute URLs
The response validation in the fetch method of AsyncOpenAPITestCase is
intended for requests made to the application under test only, and must
not be executed on requests made to other services using absolute URLs.
2021-04-03 01:14:42 -04:00
7a8f195712 Allow overriding of spec as a dictionary 2021-03-05 15:23:23 -05:00
3a622e0306 Use spec objects rather than dictionaries 2021-02-26 23:03:33 -05:00
10e5784543 Remove 418 responses from tests
Older versions of Tornado raise a ValueError when supplied with HTTP
status code 418. I guess it's anti-teapot.
2021-02-26 12:17:30 -05:00
3b3085652d Ignore types on tornado includes
Older versions of Tornado supported by this library lack type annotations.
2021-02-26 12:04:47 -05:00
8b243ee565 Add a test case base class
Add a unittest test case class based on Tornado's AsyncHTTPTestCase
which validates responses against an OpenAPI 3 specification.
2021-02-25 22:55:07 -05:00