diff options
| author | 2023-11-04 18:45:48 -0400 | |
|---|---|---|
| committer | 2023-11-04 18:45:48 -0400 | |
| commit | 7997fa94c82f9a6db63421c0af433f325a8aa607 (patch) | |
| tree | 25e8377f1d038f8dad93e2c54c12beacbc65f470 /test | |
| parent | e052f3b9e1d9703a5a466daeaf37bacf476c2daf (diff) | |
New upstream version 1.26.2.upstream/1.26.2
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_postprocessor.py | 4 | ||||
| -rw-r--r-- | test/test_util.py | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/test_postprocessor.py b/test/test_postprocessor.py index b64df88..fb1d739 100644 --- a/test/test_postprocessor.py +++ b/test/test_postprocessor.py @@ -365,8 +365,8 @@ class MetadataTest(BasePostprocessorTest): self._create( {"mode": "tags"}, {"tags": [ - {"g": "foobar1", "m": "foobar2"}, - {"g": None, "m": "foobarbaz"} + {"g": "foobar1", "m": "foobar2", "u": True}, + {"g": None, "m": "foobarbaz", "u": [3, 4]}, ]}, ) with patch("builtins.open", mock_open()) as m: diff --git a/test/test_util.py b/test/test_util.py index 0813a0b..780f475 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -750,6 +750,7 @@ def hash(value): self.assertIs(obj(), obj) self.assertIs(obj(1, "a"), obj) self.assertIs(obj(foo="bar"), obj) + self.assertEqual(util.json_dumps(obj), "null") i = 0 for _ in obj: |
