diff options
Diffstat (limited to 'test/tutils.py')
-rw-r--r-- | test/tutils.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/test/tutils.py b/test/tutils.py index 4c29f5b2..f8a37a5e 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -64,10 +64,21 @@ class DaemonTests(object): def get(self, spec): return requests.get(self.d.p(spec), verify=False) - def pathoc(self, spec, timeout=None, connect_to=None, ssl=None): + def pathoc( + self, + spec, + timeout=None, + connect_to=None, + ssl=None, + ws_read_limit=None + ): if ssl is None: ssl = self.ssl - c = pathoc.Pathoc(("localhost", self.d.port), ssl=ssl) + c = pathoc.Pathoc( + ("localhost", self.d.port), + ssl=ssl, + ws_read_limit=ws_read_limit + ) c.connect(connect_to) if timeout: c.settimeout(timeout) |