kiwi-scp/tests/test_services.py
2022-01-27 18:06:27 +01:00

16 lines
372 B
Python

from ruamel.yaml import CommentedMap
from kiwi_scp.services import Services
from kiwi_scp.service import Service
class TestServices:
def test_empty(self):
s = Service(
name="s",
content=CommentedMap(),
parent_project=None,
)
ss = Services([s])
assert str(ss) == "services:\n s: {}\nconfigs: []"