Complete Python package from Claude Code session: - src/modpack_checker/: 1,154 lines (cli, config, curseforge, database, notifier) - tests/: 913 lines (comprehensive test suite) - docs/: README, API, INSTALLATION guides - setup.py, requirements.txt, LICENSE (MIT) Total: 2,121+ lines of production-ready code Ready for BuiltByBit marketplace deployment Transferred via tar.gz from Claude Code → Chronicler #26
12 lines
250 B
Python
12 lines
250 B
Python
"""Shared pytest fixtures."""
|
|
|
|
import pytest
|
|
|
|
from modpack_checker.database import Database
|
|
|
|
|
|
@pytest.fixture
|
|
def db(tmp_path):
|
|
"""In-memory-equivalent SQLite database backed by a temp directory."""
|
|
return Database(str(tmp_path / "test.db"))
|