Download tests/test_codec_core.py from junaid-simamdigital/SimamNeuralCodecLab: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/junaid-simamdigital/SimamNeuralCodecLab/resolve/main/tests/test_codec_core.py
- Command line
-
hf download hf://spaces/junaid-simamdigital/SimamNeuralCodecLab/tests/test_codec_core.py
-
curl -L -o test_codec_core.py https://huggingface.co/spaces/junaid-simamdigital/SimamNeuralCodecLab/resolve/main/tests/test_codec_core.py
251 Bytes
| from pathlib import Path | |
| from codec_core import probe | |
| def test_probe_missing_binary_is_explained(monkeypatch, tmp_path: Path): | |
| monkeypatch.setattr("codec_core.shutil.which", lambda _: None) | |
| assert "error" in probe(tmp_path / "missing.mp4") | |