[pp:metadata] ignore non-string tag values (#4764)

This commit is contained in:
Mike Fährmann
2023-11-04 17:33:14 +01:00
parent 61d6558322
commit 6402f2950f
2 changed files with 3 additions and 3 deletions

View File

@@ -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: