Пример #1
0
def test_save_config_data(tmp_path: Path) -> None:
    cfg = load_config_data("./l5kit/tests/artefacts/config.yaml")
    tmp_path = tmp_path / "default.yaml"
    save_config_data(cfg, str(tmp_path))
    assert tmp_path.exists()
Пример #2
0
def test_load_config_data() -> None:
    cfg = load_config_data("./l5kit/tests/artefacts/config.yaml")
    assert isinstance(cfg, dict)
Пример #3
0
def test_load_config_data() -> None:
    cfg = load_config_data("./l5kit/configs/default.yaml")
    assert isinstance(cfg, dict)