Browse Source

[Test] Fix scan file test

tags/1.3.0
Andrew Lewis 8 years ago
parent
commit
772f47cfe0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/functional/lib/rspamd.py

+ 1
- 1
test/functional/lib/rspamd.py View File

return [goo, size+offset] return [goo, size+offset]


def scan_file(addr, port, filename): 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): def Send_SIGUSR1(pid):
pid = int(pid) pid = int(pid)

Loading…
Cancel
Save