-
Notifications
You must be signed in to change notification settings - Fork 147
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
Synchronize async fixtures dynamically #669
Synchronize async fixtures dynamically #669
Commits on Nov 10, 2023
-
[feat!] Replaced the asyncio_event_loop marker with an optional "scop…
…e" kwarg to the asyncio mark. Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for 314020c - Browse repository at this point
Copy the full SHA 314020cView commit details -
[feat] Add support for package-scoped loops.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for d35c24d - Browse repository at this point
Copy the full SHA d35c24dView commit details -
[docs] Link to auto mode concept from marker reference.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for b851d05 - Browse repository at this point
Copy the full SHA b851d05View commit details -
[feat] Add support for session-scoped event loops.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for bfb10a0 - Browse repository at this point
Copy the full SHA bfb10a0View commit details -
[feat!] Requesting the "event_loop" fixture in an async fixture will …
…raise a pytest.UsageError. This is a follow-up to the previous deprecation of event_loop fixture requests in async fixtures and tests. The change allows cleaning up the fixture synchronization code, so that the synchronization will eventually become independent of the fixture providing the asyncio event loop. Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for f028ac1 - Browse repository at this point
Copy the full SHA f028ac1View commit details -
[refactor] Fixture synchronizers use the existing event loop rather t…
…han the value provided by the event loop fixture. Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for 9286c5f - Browse repository at this point
Copy the full SHA 9286c5fView commit details -
[feat!] Fixture synchronizers no longer depend on a fixture providing…
… an event loop. Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for bd29f2b - Browse repository at this point
Copy the full SHA bd29f2bView commit details -
[refactor] Simplified code in _inject_fixture_argnames.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for cb9953a - Browse repository at this point
Copy the full SHA cb9953aView commit details -
[refactor] Synchronize fixtures in pytest_fixture_setup rather than i…
…n _preprocess_async_fixtures. Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for e801947 - Browse repository at this point
Copy the full SHA e801947View commit details -
[refactor] The UsageError regarding explicit requests of the event_lo…
…op fixture in async fixtures is issue during fixture setup rather than during collection time. Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for 4b9b1f2 - Browse repository at this point
Copy the full SHA 4b9b1f2View commit details -
[refactor] Removed obsolete preprocessing of async fixtures.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Configuration menu - View commit details
-
Copy full SHA for cc1ee5b - Browse repository at this point
Copy the full SHA cc1ee5bView commit details