mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-22 04:43:00 +00:00
15 lines
326 B
Python
15 lines
326 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(),
|
|
)
|
|
ss = Services([s])
|
|
|
|
assert str(ss) == "services:\n s: {}"
|