To test task behavior in unit tests the preferred method is mocking. ... from pytest import raises from celery.exceptions import Retry # for python 2: use ...
確定! 回上一頁