Skip to content

Commit

Permalink
Merge branch 'MaayanLab-patch-test'
Browse files Browse the repository at this point in the history
  • Loading branch information
etianen committed Feb 20, 2022
2 parents 2c23c22 + 54ea4fb commit 8ec6b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_environ.py
Expand Up @@ -19,7 +19,7 @@ def assert_environ(environ: WSGIEnviron) -> None:
assert environ["REQUEST_METHOD"] == "GET"
assert environ["SCRIPT_NAME"] == ""
assert environ["PATH_INFO"] == "/"
assert environ["CONTENT_TYPE"] == ""
assert environ["CONTENT_TYPE"] == "application/octet-stream"
assert environ["CONTENT_LENGTH"] == "0"
assert environ["SERVER_NAME"] == "127.0.0.1"
assert int(environ["SERVER_PORT"]) > 0
Expand Down Expand Up @@ -95,6 +95,7 @@ class EnvironTest(AsyncTestCase):
def testEnviron(self) -> None:
with self.run_server(assert_environ) as client:
client.assert_response(headers={
"Content-Type": "application/octet-stream",
"Foo": "bar",
})

Expand Down

0 comments on commit 8ec6b71

Please sign in to comment.