To test task behavior in unit tests the preferred method is mocking. Eager mode ... @pytest.mark.celery(result_backend='redis://') class test_something: def ...
確定! 回上一頁