MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / test_sequence_cfg

Function test_sequence_cfg

Scripts/UnitTest/test_config_sequence.py:9–14  ·  view source on GitHub ↗
(file_name: str)

Source from the content-addressed store, hash-verified

7
8@pytest.mark.parametrize(["file_name"], [(str(f),) for f in Path("./Config/Sequence").glob("**/*.yaml")])
9def test_sequence_cfg(file_name: str):
10 cfg, _ = load_config(Path(file_name))
11 if isinstance(cfg, list):
12 for c in cfg: SequenceBase.is_valid_config(c)
13 else:
14 SequenceBase.is_valid_config(cfg)

Callers

nothing calls this directly

Calls 2

load_configFunction · 0.90
is_valid_configMethod · 0.45

Tested by

no test coverage detected