-
Notifications
You must be signed in to change notification settings - Fork 348
Add support for db fixture (test inside transaction) for asyncio tests #1223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lode-braced
wants to merge
29
commits into
pytest-dev:main
Choose a base branch
from
lode-braced:fix/async_fixture
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
58f7f24
Add async support: run transaction start/stop in an async context whe…
3ee56c4
Revertme: test pipeline
3515460
Move paramspec into type check block for python 3.9
3f1fe98
Revertme: remove cov step
1a09850
Fix type hints
629cafd
Add docs for async, thread checks, refer to docs in plugin errors
4a79664
Revert "Revertme: test pipeline"
f46bac0
Revert "Revertme: remove cov step"
7673814
Drop sync extra checks
061ca4b
Fix docs layout
cca2dff
Remove unblock kwarg from sync
1bf9be6
Reduce code duplication: reuse test case class creation logic for syn…
0525d62
Revert "Drop sync extra checks"
2c1d21b
Revert "Remove unblock kwarg from sync"
95b03a0
Wrap patched method with one containing explicit wrapped self to fix …
b219fcb
Chore: reformat
593d02f
Chore: update type hints
3c986bf
Add test case for db access outside main thread in sync context
0fb5f38
Add unblock test case when both flags are set
4b1274c
chore: format
215c679
Merge remote-tracking branch 'refs/remotes/origin/main' into fix/asyn…
cff3a16
Merge remote-tracking branch 'origin/main' into fix/async_fixture
9aff5fd
Chore: fix tox indenting
19505bc
Merge remote-tracking branch 'refs/remotes/origin/main' into fix/asyn…
bf45db8
Remove sync code
ede6840
Implement code comments
1c3f7cd
Implement code comments
3b080d0
Fix type hinting
13b74b0
Match function signatures
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.