def test__load_config__missing() -> None: with pytest.raises(ConfigLoadError): Utils.load_config(path=TestYAML.missing)
def test__load_config__invalid() -> None: with pytest.raises(ConfigLoadError): Utils.load_config(path=TestYAML.invalid)
def test__load_config__empty() -> None: config = Utils.load_config(path=TestYAML.empty) assert config == {}
def test__load_config__valid() -> None: config = Utils.load_config(path=TestYAML.valid) assert config["data"] == "valid"