From dacb350040806ad0855cd482d53247be81474f3a Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 23 Apr 2015 17:11:20 +1200 Subject: pathod: register websocket key from client handshake --- test/test_pathod.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test_pathod.py') diff --git a/test/test_pathod.py b/test/test_pathod.py index 00634e27..266f41ab 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -184,6 +184,9 @@ class CommonTests(tutils.DaemonTests): r = self.pathoc(r"get:'http://foo.com/p/202':da") assert r.status_code == 202 + def test_websocket(self): + r = self.pathoc("ws:/p/") + class TestDaemon(CommonTests): ssl = False -- cgit v1.2.3