|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
from unittest.mock import patch
|
|
|
|
|
from application.core.settings import settings
|
|
|
|
|
from application.celery import make_celery
|
|
|
|
|
from application.celery_init import make_celery
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@patch('application.celery.Celery')
|
|
|
|
|
@patch('application.celery_init.Celery')
|
|
|
|
|
def test_make_celery(mock_celery):
|
|
|
|
|
# Arrange
|
|
|
|
|
app_name = 'test_app_name'
|
|
|
|
|