mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-11-10 06:04:15 +00:00
76dbdacbe4
- Code cleanup with ruff - Fix typos --------- Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
9 lines
274 B
Python
9 lines
274 B
Python
from ansibleplaybookgrapher.utils import merge_dicts
|
|
|
|
|
|
def test_merge_dicts() -> None:
|
|
"""Test dicts grouping.
|
|
:return:
|
|
"""
|
|
res = merge_dicts({"1": {2, 3}, "4": {5}, "9": [11]}, {"4": {7}, "9": set()})
|
|
assert res == {"1": {2, 3}, "4": {5, 7}, "9": {11}}
|