MCPcopy Create free account
hub / github.com/cdgriffith/Box / backend

Function backend

test/test_yaml_order.py:16–24  ·  view source on GitHub ↗
(request, monkeypatch)

Source from the content-addressed store, hash-verified

14
15@pytest.fixture(params=["ruamel-rt", "ruamel-safe", "pyyaml"])
16def backend(request, monkeypatch):
17 if request.param == "pyyaml":
18 if not converters.pyyaml_available:
19 pytest.skip("PyYAML is not installed")
20 monkeypatch.setattr(converters, "ruamel_available", False)
21 return {}
22 if not converters.ruamel_available:
23 pytest.skip("ruamel.yaml is not installed")
24 return {"ruamel_typ": request.param.split("-")[1]}
25
26
27class TestYamlOrder:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected