JF's Dev Blog

Django, Vue, and other things, too

Articles in the Unit Testing category

Writing Unit Tests for Celery Tasks with async Functions

In which John leverages asgiref's async_to_sync to unit test a Celery task that depends on an asynchronous Python function.

Continue reading »