mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
refactoring
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
|
||||
import pytest
|
||||
|
||||
from kvmd.yamlconf import merger
|
||||
|
||||
|
||||
@@ -108,7 +109,7 @@ def test_non_dict_values_in_source() -> None:
|
||||
|
||||
|
||||
def test_empty_base() -> None:
|
||||
base = {}
|
||||
base: dict = {}
|
||||
incoming = {"key1": "value1"}
|
||||
merger.yaml_merge(base, incoming)
|
||||
assert base == {"key1": "value1"}
|
||||
|
||||
Reference in New Issue
Block a user