diff options
author | Andrew Shadura <andrew@shadura.me> | 2015-08-20 15:58:27 +0200 |
---|---|---|
committer | Andrew Shadura <andrew@shadura.me> | 2015-08-20 15:58:27 +0200 |
commit | 25d6c405aff4167e801d0a4995083a56160b969e (patch) | |
tree | 070a400e9627b5b392dc3b57be4f889646ec2ea9 /reconfigure/tests/configs/ajenti_tests.py | |
parent | ff1408420159488a106492ccd11dd234967029b6 (diff) |
Imported Upstream version 0.1.39
Diffstat (limited to 'reconfigure/tests/configs/ajenti_tests.py')
-rw-r--r-- | reconfigure/tests/configs/ajenti_tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reconfigure/tests/configs/ajenti_tests.py b/reconfigure/tests/configs/ajenti_tests.py index 56a1dc1..66a0526 100644 --- a/reconfigure/tests/configs/ajenti_tests.py +++ b/reconfigure/tests/configs/ajenti_tests.py @@ -1,7 +1,7 @@ import json from reconfigure.configs import AjentiConfig -from base_test import BaseConfigTest +from reconfigure.tests.configs.base_test import BaseConfigTest class AjentiConfigTest (BaseConfigTest): @@ -12,6 +12,7 @@ class AjentiConfigTest (BaseConfigTest): "host": "0.0.0.0", "port": 8000 }, + "language": null, "enable_feedback": true, "installation_id": null, "users": { @@ -34,6 +35,7 @@ class AjentiConfigTest (BaseConfigTest): 'authentication': False, 'enable_feedback': True, 'installation_id': None, + 'language': None, 'http_binding': {'host': '0.0.0.0', 'port': 8000}, 'ssl': {'certificate_path': '', 'enable': False}, 'users': {'test': { @@ -46,7 +48,7 @@ class AjentiConfigTest (BaseConfigTest): config = AjentiConfig - stringify_filter = staticmethod(json.loads) + stringify_filter = staticmethod(lambda x: json.loads(str(x))) del BaseConfigTest |