docs: improve test suite documentation - #22
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Developer: Manish Kumar <manish@omnibioai.org>attribution, and assertion-specific docstrings across the security-audit test suite (46 files undertests/).Test*classes 12/12 (1 existing preserved, 11 added),test_*functions/methods 478/478 (109 existing docstrings preserved, 369 added). Fixtures and reusable helpers are documented where they carry non-obvious setup.Documentation only
main: 0 across all 46 files (docstring nodes normalized out before comparing).tests/*.pyis touched (+711/−10; the 10 removals are existing module-docstring closers moved down to append attribution).ruff checkon the changed files: identical finding count (15) before and after, confirmed viagit stash/stash pop— nothing introduced by this change.Safety
B0_TEST_MYSQL_ROOT_URL/B0_TEST_REDIS_URLwere left unset throughout, so every guarded real-backend test (including the retention/immutability suite tied to a documented 2026-09-16 production incident) skipped cleanly rather than touching anything real.test_redis_acl_safety.py's Docker-based tests are self-contained: a freshly named, random-port,--rmthrowawayredis:7-alpinecontainer that explicitly refuses the production port if Docker allocates it by coincidence. Verified no leftover containers after the run.Test plan
git diff --checkclean🤖 Generated with Claude Code