aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lib/rspamd.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/lib/rspamd.py')
-rw-r--r--test/functional/lib/rspamd.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/functional/lib/rspamd.py b/test/functional/lib/rspamd.py
index 93ec4c430..10caab3ca 100644
--- a/test/functional/lib/rspamd.py
+++ b/test/functional/lib/rspamd.py
@@ -29,12 +29,6 @@ def get_test_directory():
def make_temporary_directory():
return tempfile.mkdtemp()
-def populate_rspamd_config(template_file, temporary_dir, **config):
- t = string.Template(open(template_file).read())
- f = open("%s/rspamd.conf" % temporary_dir, "w")
- f.write(t.safe_substitute(config))
- f.close()
-
def process_should_exist(pid):
pid = int(pid)
os.kill(pid, 0)
@@ -75,7 +69,7 @@ def update_dictionary(a, b):
a.update(b)
return a
-def shutdown_rspamd(pid):
+def shutdown_process(pid):
pid = int(pid)
process_should_exist(pid)
i = 0