aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/tutils.py b/test/tutils.py
index 580174d9..59649053 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -1,6 +1,6 @@
import tempfile, os, shutil
from contextlib import contextmanager
-from libpathod import utils, test, pathoc
+from libpathod import utils, test, pathoc, pathod
import requests
class DaemonTests:
@@ -10,12 +10,15 @@ class DaemonTests:
ssl = False
timeout = None
hexdump = False
+ not_after_connect = False
@classmethod
def setUpAll(self):
+ so = pathod.SSLOptions(not_after_connect = self.not_after_connect)
self.d = test.Daemon(
staticdir=test_data.path("data"),
anchors=[("/anchor/.*", "202:da")],
ssl = self.ssl,
+ ssloptions = so,
sizelimit=1*1024*1024,
noweb = self.noweb,
noapi = self.noapi,