python-openapi / openapi-core

Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI v3.0 and OpenAPI v3.1 specification.
BSD 3-Clause "New" or "Revised" License
288 stars 131 forks source link

Fix `MockRequest.body` type #725

Closed andersk closed 8 months ago

andersk commented 8 months ago

Commit 0031ff74c04146fa6ba91925a7f54e0d5f7b2159 changed data from str to bytes, but forgot to adjust this default value.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (46639b5) 91.20% compared to head (c59cbc5) 91.20%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #725 +/- ## ======================================= Coverage 91.20% 91.20% ======================================= Files 129 129 Lines 4129 4129 Branches 507 507 ======================================= Hits 3766 3766 Misses 296 296 Partials 67 67 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.