diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-04-09 23:54:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 23:54:05 +0100 |
commit | 87478c5a6007b2a21933c1200f2741b6f3d0df3e (patch) | |
tree | 06221bbafb5a936ea7c19d7ae856b93a7ce3ff2e /tests/utils.py | |
parent | Merge pull request #3073 from NotAFile/use-six-reraise (diff) | |
parent | Add b prefixes to some strings that are bytes in py3 (diff) | |
download | synapse-87478c5a6007b2a21933c1200f2741b6f3d0df3e.tar.xz |
Merge pull request #3061 from NotAFile/add-some-byte-strings
Add b prefixes to some strings that are bytes in py3
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py index 8efd3a3475..f15317d27b 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -212,7 +212,7 @@ class MockHttpResource(HttpServer): headers = {} if federation_auth: - headers["Authorization"] = ["X-Matrix origin=test,key=,sig="] + headers[b"Authorization"] = ["X-Matrix origin=test,key=,sig="] mock_request.requestHeaders.getRawHeaders = mock_getRawHeaders(headers) # return the right path if the event requires it |