Mercurial > hgrepos > Python > libs > ConfigMix
diff tests/test.py @ 127:5b62d2c0e5a8
Use the available "OrderedDict" class as dict for the JSON parser
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 04 Apr 2018 20:53:06 +0200 |
| parents | 21d92ff8cf31 |
| children | b11af3ded7c1 |
line wrap: on
line diff
--- a/tests/test.py Wed Apr 04 10:57:49 2018 +0200 +++ b/tests/test.py Wed Apr 04 20:53:06 2018 +0200 @@ -70,6 +70,7 @@ def test04_json_types(self): cfg = configmix.json.load(os.path.join(TESTDATADIR, "conf1.json")) + self.assertTrue(isinstance(cfg, configmix.json.DictImpl)) self.__check_types(cfg) def test05_py_export_all(self):
