]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix scan file test 727/head
authorAndrew Lewis <nerf@judo.za.org>
Sun, 17 Jul 2016 20:17:48 +0000 (21:17 +0100)
committerAndrew Lewis <nerf@judo.za.org>
Sun, 17 Jul 2016 20:17:48 +0000 (21:17 +0100)
test/functional/lib/rspamd.py

index 10caab3ca5bcb39c2cc17e4eb4e6de0edf707f47..6d03c4d5fc28b042753d6467eb41665a19548abb 100644 (file)
@@ -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)