diff options
Diffstat (limited to 'contrib/libucl/python/tests/test_load.py')
-rw-r--r-- | contrib/libucl/python/tests/test_load.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/contrib/libucl/python/tests/test_load.py b/contrib/libucl/python/tests/test_load.py index 786587a67f3d..73d43188f3d5 100644 --- a/contrib/libucl/python/tests/test_load.py +++ b/contrib/libucl/python/tests/test_load.py @@ -71,7 +71,22 @@ class LoadTest(unittest.TestCase): self.assertEqual(ucl.load("{/*1*/}"), {}) def test_1_in(self): - valid = { 'key1': 'value' } + valid = { + 'key1': [ + 'value', + 'value2', + 'value;', + 1.0, + -0xdeadbeef, + '0xdeadbeef.1', + '0xreadbeef', + -1e-10, + 1, + True, + False, + True, + ] + } with open("../tests/basic/1.in", "r") as in1: self.assertEqual(ucl.load(in1.read()), valid) |