aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-07-17 21:17:48 +0100
committerAndrew Lewis <nerf@judo.za.org>2016-07-17 21:17:48 +0100
commit772f47cfe048bcfe88e610274c0e832ba62601f1 (patch)
treed71e5de342b29695282a6cbddf0f44a915fabe7d /test
parentfe12f74d954317384d0d2878eb297e3576de73c8 (diff)
downloadrspamd-772f47cfe048bcfe88e610274c0e832ba62601f1.tar.gz
rspamd-772f47cfe048bcfe88e610274c0e832ba62601f1.zip
[Test] Fix scan file test
Diffstat (limited to 'test')
-rw-r--r--test/functional/lib/rspamd.py2
1 files changed, 1 insertions, 1 deletions
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)