ansible-playbook-grapher/tests/test_utils.py
2022-08-15 02:37:03 +02:00

11 lines
268 B
Python

from ansibleplaybookgrapher.utils import merge_dicts
def test_merge_dicts():
"""
Test dicts grouping
:return:
"""
res = merge_dicts({"1": [2, 3], "4": [5], "9": [11]}, {"4": [7], "9": []})
assert res == {"1": [2, 3], "4": [5, 7], "9": [11]}