Skip to content

move test suite to in-source tests#2

Merged
thejchap merged 1 commit intomainfrom
claude/move-tests-in-source-nInTg
Apr 20, 2026
Merged

move test suite to in-source tests#2
thejchap merged 1 commit intomainfrom
claude/move-tests-in-source-nInTg

Conversation

@thejchap
Copy link
Copy Markdown
Owner

Use tryke's __TRYKE_TESTING__ guard to embed tests alongside the code
they exercise. Tests now live in database.py, backends/sqlite.py, and
backends/memory.py; the tests/ directory is removed. Upgrades tryke to
0.0.18 for tryke_guard, and drops from __future__ import annotations
from database.py so FastAPI dependency resolution sees the in-source
closure vars.

https://claude.ai/code/session_016AMmfnWUYedYcg8y8ucERN

Use tryke's `__TRYKE_TESTING__` guard to embed tests alongside the code
they exercise. Tests now live in database.py, backends/sqlite.py, and
backends/memory.py; the tests/ directory is removed. Upgrades tryke to
0.0.18 for `tryke_guard`, and drops `from __future__ import annotations`
from database.py so FastAPI dependency resolution sees the in-source
closure vars.

https://claude.ai/code/session_016AMmfnWUYedYcg8y8ucERN
@thejchap thejchap merged commit f4e0a52 into main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants