Files
deverenz/tests/test_smoke.py
T
kasun e91d05497d
CI / checks (pull_request) Successful in 48s
chore: set up Python project skeleton with CI checks
pyright skips .claude/scripts (it always adds its dot-directory exclude); ruff still checks it. The Stop hook now also runs ruff format --check, matching CI.
2026-11-15 15:23:57 +01:00

10 lines
297 B
Python

from importlib.metadata import version
from pathlib import Path
import deverenz
def test_package_is_installed_from_src() -> None:
assert version("deverenz") # installed as a distribution
assert Path(deverenz.__file__).parent.parent.name == "src" # the editable install from this repo