From e354974787db631c6bacc7dd014cb7e2bac5ff9c Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 23 Jul 2012 16:28:34 +1200 Subject: 100% test coverage for app.py --- test/tutils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/tutils.py') 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" -- cgit v1.2.3