From: Andrew Lewis Date: Sun, 17 Jul 2016 20:17:48 +0000 (+0100) Subject: [Test] Fix scan file test X-Git-Tag: 1.3.0~64^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F727%2Fhead;p=rspamd.git [Test] Fix scan file test --- 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)