diff options
Diffstat (limited to 'test/tutils.py')
-rw-r--r-- | test/tutils.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/tutils.py b/test/tutils.py index 3c1b415e..3b430825 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -20,9 +20,11 @@ class DaemonTests: def setUp(self): self.d.clear_log() - def getpath(self, path): + def getpath(self, path, params=None): scheme = "https" if self.SSL else "http" - return requests.get("%s://localhost:%s/%s"%(scheme, self.d.port, path), verify=False) + return requests.get( + "%s://localhost:%s/%s"%(scheme, self.d.port, path), verify=False, params=params + ) def get(self, spec): scheme = "https" if self.SSL else "http" |