Skip to content

test(coverage): add tests for saga_crypto, read_only, migrations (+25) - #57

Merged
Cipher208 merged 2 commits into
masterfrom
test/coverage-improvement
Jul 5, 2026
Merged

test(coverage): add tests for saga_crypto, read_only, migrations (+25)#57
Cipher208 merged 2 commits into
masterfrom
test/coverage-improvement

Conversation

@Cipher208

Copy link
Copy Markdown
Owner

Changes

New test files (25 tests)

  • est_saga_crypto_coverage.py — write_state_atomic, read_state, legacy rotation (10 tests)
  • est_read_only_coverage.py — sync, get_conn, is_ready, auto_sync (9 tests)
  • est_migrations_coverage.py — migrate, idempotent, get_pending (6 tests)

Coverage improvement

  • Total: 70% → 77% (+7%)
  • saga_crypto.py: 37% → 89% (+52%)
  • read_only.py: 57% → 86% (+29%)
  • migrations.py: 39% → 81% (+42%)

Tests

  • Total: 499 (was 474, +25)
  • All pass, lint clean, format clean

- test_saga_crypto_coverage.py: write_state_atomic, read_state, legacy rotation (10 tests)
- test_read_only_coverage.py: sync, get_conn, is_ready, auto_sync (9 tests)
- test_migrations_coverage.py: migrate, idempotent, get_pending (6 tests)

Coverage: 70% → 77% (+7%)
- saga_crypto.py: 37% → 89%
- read_only.py: 57% → 86%
- migrations.py: 39% → 81%

Total: 499 tests (was 474, +25)
@Cipher208
Cipher208 force-pushed the test/coverage-improvement branch from ddf6768 to df9341e Compare July 5, 2026 22:44
@Cipher208
Cipher208 merged commit 3ff173a into master Jul 5, 2026
13 of 18 checks passed
@Cipher208
Cipher208 deleted the test/coverage-improvement branch July 5, 2026 23:23
Cipher208 pushed a commit that referenced this pull request Jul 5, 2026
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.

1 participant