mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-11-10 06:04:15 +00:00
11 lines
268 B
Python
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]}
|