Skip to content

Commit 0d519b9

Browse files
committed
Fix fake headers dict in tests
1 parent 187e204 commit 0d519b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_websocketproxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def setUp(self):
6464
self.handler = websocketproxy.ProxyRequestHandler(
6565
FakeSocket(), "127.0.0.1", FakeServer())
6666
self.handler.path = "https://localhost:6080/websockify?token=blah"
67-
self.handler.headers = None
67+
self.handler.headers = {}
6868
patch('websockify.websockifyserver.WebSockifyServer.socket').start()
6969

7070
def tearDown(self):

0 commit comments

Comments
 (0)