Skip to content

Commit

Permalink
fix test failing (wrong typing)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiAndreiev committed Jul 31, 2024
1 parent aab1ec6 commit 3345ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/python/readme_metrics/tests/fixtures/Environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def getEnvironForRequest(self, jsonByteString, httpRequestMethod):
contentLength = len(jsonByteString)
stream = io.BytesIO(jsonByteString)
environ["wsgi.input"] = wsgi.LimitedStream(stream, contentLength)
environ["CONTENT_LENGTH"] = contentLength
environ["CONTENT_LENGTH"] = str(contentLength)
return environ

0 comments on commit 3345ac9

Please sign in to comment.