|
|
@ -290,7 +290,10 @@ class MetadataTest(BasePostprocessorTest):
|
|
|
|
def test_metadata_tags_list_of_dict(self):
|
|
|
|
def test_metadata_tags_list_of_dict(self):
|
|
|
|
self._create(
|
|
|
|
self._create(
|
|
|
|
{"mode": "tags"},
|
|
|
|
{"mode": "tags"},
|
|
|
|
{"tags": [{"g": "foobar1", "m": "foobar2"}, {"g": None, "m": "foobarbaz"}]},
|
|
|
|
{"tags": [
|
|
|
|
|
|
|
|
{"g": "foobar1", "m": "foobar2"},
|
|
|
|
|
|
|
|
{"g": None, "m": "foobarbaz"}
|
|
|
|
|
|
|
|
]},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
with patch("builtins.open", mock_open()) as m:
|
|
|
|
with patch("builtins.open", mock_open()) as m:
|
|
|
|
self._trigger()
|
|
|
|
self._trigger()
|
|
|
|