Cleanup: consolidate tests, docs, and README#648
Merged
gijzelaerr merged 3 commits intomasterfrom Mar 20, 2026
Merged
Conversation
README: - Remove async support section (unnecessary on landing page) Documentation: - Add S7CommPlus API docs with experimental warning - Add experimental warning to AsyncClient docs - Update PLC support matrix for S7CommPlus V1/V2 status Test consolidation (no test logic changed): - Merge test_server_coverage.py into test_server.py - Merge test_partner_coverage.py into test_partner.py - Merge test_logo_coverage.py into test_logo_client.py - Merge test_db_coverage.py into test_util.py - Rename test_s7protocol_coverage.py to test_s7protocol.py Mypy fixes: - Widen Row.set_value type to accept date/datetime/timedelta - Add type annotations in test_s7protocol.py, test_partner.py, test_connection.py, test_async_client.py Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add 154 new unit tests covering codec decoders, PValue parsing for all data types, payload builders/parsers, connection response parsing, and client error paths. S7CommPlus coverage rises from 77% to 87%, with codec.py reaching 100%. Also add CODECOV_TOKEN to the workflow to fix silent upload failures on protected branches. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #648 +/- ##
===========================================
+ Coverage 54.60% 80.76% +26.16%
===========================================
Files 13 25 +12
Lines 1661 6796 +5135
===========================================
+ Hits 907 5489 +4582
- Misses 754 1307 +553 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
_coveragetest files into their base files (5 merges), fix all mypy errors across test suiteTest file consolidation
test_server_coverage.pytest_server.pytest_partner_coverage.pytest_partner.pytest_logo_coverage.pytest_logo_client.pytest_db_coverage.pytest_util.pytest_s7protocol_coverage.pytest_s7protocol.pyNo test logic was changed — only file organization and import cleanup.
Test plan
🤖 Generated with Claude Code