diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit.py b/test/unit.py index bd6128cc..2af3e8f6 100644 --- a/test/unit.py +++ b/test/unit.py @@ -433,7 +433,7 @@ class TestUnitControl(TestUnitHTTP): # TODO http client def conf(self, conf, path='/config'): - if isinstance(conf, dict): + if isinstance(conf, dict) or isinstance(conf, list): conf = json.dumps(conf) if path[:1] != '/': |