Added Python driver tests for coverage - #3584
Open
GumpacG wants to merge 1 commit into
Open
Conversation
Assisted-by: Kiro: Claude Opus 4.8
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3584 +/- ##
============================================
+ Coverage 76.35% 76.49% +0.13%
- Complexity 13424 14302 +878
============================================
Files 1012 1036 +24
Lines 60341 64620 +4279
Branches 7075 7664 +589
============================================
+ Hits 46076 49433 +3357
- Misses 11548 12098 +550
- Partials 2717 3089 +372 ☔ View full report in Codecov by Harness. 🚀 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.
Increase gremlin-python test coverage
Adds targeted unit tests for
gremlin-pythonthat exercise previously-untested librarycode: the explicit-transaction lifecycle (
Transaction/execute_in_tx), the GraphBinaryV4 serializer internals (
configure_pdt_registrymerge andfinalize_messagebyte layout),the
Traversaliteration protocol andtraversal.pyobject model (Traverser,TraversalStrategies/TraversalStrategy,P/TextP,AtomicInteger,GremlinLangcopy/convert),
DriverRemoteConnection/RemoteStrategywiring andextract_request_options,the SigV4 auth interceptor, the aiohttp read-timeout normalization (
ServerTimeoutError->ReadTimeoutError), GraphBinary V4 error branches (unknown type code, long overflow, naivedatetime), and several
structure/graph.pyobject-model / PDT-registry paths. Also adds oneintegration test for the server-enforced per-request
timeoutMillis. Tests only, noproduction code changes.
Coverage (gremlin-python: unit + integration + feature)
Coverage reports
Baseline (master: b907ebb) and with-tests HTML reports were generated with

coverage.py(unit + integration + radish):With added tests:

Assisted-by: Kiro: Claude Opus 4.8