pytest.mark.parametrize(
"test_input,expected",
[
({"hostname": "foo"}, HostSpec('foo')),
({"hostname": "foo", "labels": "l1"}, HostSpec('foo', labels=['l1'])),
({"host
| 1 | # flake8: noqa |
| 2 | import json |
| 3 | import yaml |
| 4 |
nothing calls this directly
no outgoing calls
no test coverage detected