We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e79b81 commit acf8928Copy full SHA for acf8928
tests/functional/event_handler/test_openapi_validation_middleware.py
@@ -145,7 +145,7 @@ def handler() -> Decimal:
145
# THEN the body must be a decimal as int
146
result = app(LOAD_GW_EVENT, {})
147
assert result["statusCode"] == 200
148
- assert result["body"] == "10"
+ assert result["body"] == 10
149
150
151
def test_validate_return_decimal_as_float():
@@ -165,7 +165,7 @@ def handler() -> Decimal:
165
# THEN the body must be a decimal as float
166
167
168
- assert result["body"] == "10.22"
+ assert result["body"] == 10.22
169
170
171
def test_validate_return_purepath():
0 commit comments