diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/control.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/control.py b/test/unit/control.py index 0899d34f..0b344ed5 100644 --- a/test/unit/control.py +++ b/test/unit/control.py @@ -44,6 +44,10 @@ class TestControl(TestHTTP): def conf_delete(self, url): return self.delete(**self._get_args(url))['body'] + @args_handler + def conf_post(self, conf, url): + return self.post(**self._get_args(url, conf))['body'] + def _get_args(self, url, conf=None): args = { 'url': url, |