MCPcopy Create free account
hub / github.com/ceph/ceph / test_parse_host_specs

Route test_parse_host_specs

src/python-common/ceph/tests/test_hostspec.py:None–None  ·  view source on GitHub ↗
pytest.mark.parametrize(
    "test_input,expected",
    [
        ({"hostname": "foo"}, HostSpec('foo')),
        ({"hostname": "foo", "labels": "l1"}, HostSpec('foo', labels=['l1'])),
        ({"host

Source from the content-addressed store, hash-verified

1# flake8: noqa
2import json
3import yaml
4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected