Skip to content

Commit

Permalink
Add test case for non-zip_key case
Browse files Browse the repository at this point in the history
  • Loading branch information
danpetry committed Oct 16, 2023
1 parent 5912912 commit b4e032e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,14 @@ def test_variant_subkeys_retained():
@pytest.mark.parametrize(
"internal_defaults, low_prio_config, high_prio_config, expected",
[
(
{'pkg_1': '1.0'},
{'pkg_1': '1.1'},
{'pkg_1': ['1.1', '1.2'],
'pkg_2': ['1.1']},
[{'pkg_1': '1.1', 'pkg_2': '1.1'},
{'pkg_1': '1.2', 'pkg_2': '1.1'}]
),
(
{'pkg_1': '1.0'},
{'pkg_1': '1.1'},
Expand Down

0 comments on commit b4e032e

Please sign in to comment.