diff options
Diffstat (limited to 'tests/test_build.py')
-rw-r--r-- | tests/test_build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index a636488..8c204b9 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -281,7 +281,7 @@ def sample_source_change_index_json(monkeypatch, sample_source): @collect(variant_makers) def sample_source_add_comments(monkeypatch, sample_source): """Add index.json comments that should be preserved.""" - for dictionary in index_obj, *index_obj['definitions'], *expected: + for dictionary in (index_obj, *index_obj['definitions'], *expected): monkeypatch.setitem(dictionary, 'comment', 'index.json comment') @collect(variant_makers) @@ -356,7 +356,7 @@ def sample_source_add_extra_props(monkeypatch, sample_source): def sample_source_make_version_2(monkeypatch, sample_source, expected_documents_to_modify=[]): """Increase sources' schema version from 1 to 2.""" - for obj in index_obj, *expected_documents_to_modify: + for obj in (index_obj, *expected_documents_to_modify): monkeypatch.setitem(obj, '$schema', obj['$schema'].replace('1', '2')) permission_variant_makers = [] |