1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-21 20:33:00 +00:00
kiwi-scp/tests/test_services.py

15 lines
298 B
Python
Raw Normal View History

2021-11-03 16:35:36 +00:00
from ruamel.yaml import CommentedMap
from kiwi_scp.instance import Service, Services
class TestServices:
def test_empty(self):
s = Service(
name="s",
content=CommentedMap(),
)
ss = Services([s])
assert str(ss) == "services:\n s: {}"