From 772f47cfe048bcfe88e610274c0e832ba62601f1 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sun, 17 Jul 2016 21:17:48 +0100 Subject: [PATCH] [Test] Fix scan file test --- test/functional/lib/rspamd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/lib/rspamd.py b/test/functional/lib/rspamd.py index 10caab3ca..6d03c4d5f 100644 --- a/test/functional/lib/rspamd.py +++ b/test/functional/lib/rspamd.py @@ -42,7 +42,7 @@ def read_log_from_position(filename, offset): return [goo, size+offset] def scan_file(addr, port, filename): - return str(urlopen("http://%s:%s/symbols?%s" % (addr, port, filename)).read()) + return str(urlopen("http://%s:%s/symbols?file=%s" % (addr, port, filename)).read()) def Send_SIGUSR1(pid): pid = int(pid) -- 2.39.5