Commit graph

9 commits

Author SHA1 Message Date
Correl Roush
5d442073ad Update openapi-core to 0.19.4+ 2024-10-20 22:40:05 -04:00
Correl Roush
a2c25247d9 Update supported tornado and python versions
- Drop support for tornado<6
- Drop support for Python<3.9
- Add support for Python 3.10, 3.11, 3.12, and 3.13
2024-10-20 22:19:57 -04:00
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