summaryrefslogtreecommitdiffstats
path: root/test/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.py')
-rw-r--r--test/test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index 93e8518..75f3b0c 100644
--- a/test/test.py
+++ b/test/test.py
@@ -2,11 +2,12 @@ from test_config import Declarative, write_template_file, restart_apache
from test_config import stop_apache
import ssl
import requests.exceptions
+import os
class test_suite1(Declarative):
@classmethod
def setUpClass(cls):
- write_template_file('suite1.tmpl', 'work/httpd/conf/test.conf', {})
+ write_template_file('suite1.tmpl', 'work/httpd/conf/test.conf', {'DBPREFIX': os.environ.get('DBPREFIX', '')})
restart_apache()
@classmethod