Spaces:
Sleeping
Sleeping
| """Pytest configuration and fixtures""" | |
| import os | |
| import pathlib | |
| import tempfile | |
| import pytest | |
| def temp_dir(): | |
| with tempfile.TemporaryDirectory() as tmp_dir: | |
| yield pathlib.Path(tmp_dir) | |
| def test_gguf_url(): | |
| return "https://huggingface.co/bartowski/SmolLM2-135M-Instruct-GGUF/resolve/main/SmolLM2-135M-Instruct-Q4_K_M.gguf" | |
| def test_repo_id(): | |
| return "bartowski/SmolLM2-135M-Instruct-GGUF" | |
| def test_gguf_filename(): | |
| return "SmolLM2-135M-Instruct-Q4_K_M.gguf" | |