aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/misc_constants.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/misc_constants.py b/test/misc_constants.py
index 3494293..add875d 100644
--- a/test/misc_constants.py
+++ b/test/misc_constants.py
@@ -43,7 +43,7 @@ default_cert_dir = here / 'certs'
# Use user-specified values instead where available
try:
- with open(str(here.parent / 'testing.conf')) as f:
+ with open('testing.conf') as f:
option = f.readline()
while ' ' in option:
key, value = option[:-1].split(' ', maxsplit=1)
@@ -56,6 +56,9 @@ try:
elif key == 'TEST_PORT':
default_proxy_port = int(value)
+ elif key == 'CERT_DIR':
+ default_cert_dir = Path(value)
+
else:
raise KeyError(key)