tests(_internal): Add async tests for file_lock module#505
Open
tony wants to merge 3 commits intopr/file-lockfrom
Open
tests(_internal): Add async tests for file_lock module#505tony wants to merge 3 commits intopr/file-lockfrom
tony wants to merge 3 commits intopr/file-lockfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## pr/file-lock #505 +/- ##
================================================
+ Coverage 59.98% 61.43% +1.45%
================================================
Files 42 43 +1
Lines 6930 7056 +126
Branches 1130 1130
================================================
+ Hits 4157 4335 +178
+ Misses 2235 2180 -55
- Partials 538 541 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Closed
why: Required for async test support. what: - Add pytest-asyncio to dev and testing dependency groups
why: Test async file locking functionality. what: - Add TestAsyncFileLock with 8 async tests - Add TestAsyncAtomicInit with 4 async tests - Tests cover context manager, acquire/release, timeout, concurrent access
77787d2 to
9456c94
Compare
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
AsyncFileLockandasync_atomic_initDepends on #501.
Test plan