Closed onlyann closed 3 weeks ago
Click to see where and how coverage changed
File Statements Missing Coverage Coverage
(new stmts)Lines missing
procrastinate
testing.py
Project Total
This report was generated by python-coverage-comment-action
Successful PR Checklist:
PR label(s):
Context
Today, the only supported type of channel notification is the insertion of a new job.
To support more types of notification (e.g. cancellation), the connector will need to interact with async subscribers. To support awaiting async callbacks, some functions from the
InMemoryConnector
need to be async themselves.This is what the change is about. Some tests have been updated to avoid mixing sync and async operations because of nested
async_to_sync
calls.