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

Route test_parse_placement_specs

src/python-common/ceph/tests/test_service_spec.py:None–None  ·  view source on GitHub ↗
pytest.mark.parametrize(
    "test_input,expected",
    [
        ('', "PlacementSpec()"),
        ("count:2", "PlacementSpec(count=2)"),
        ("3", "PlacementSpec(count=3)"),
        ("host1 host2

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected