import pytest
from celery.result import EagerResult

from {{ cookiecutter.project_slug }}.users.tasks import get_users_count
from {{ cookiecutter.project_slug }}.users.tests.factories import UserFactory


@pytest.mark.django_db
def test_user_count(settings):
    """A basic test to execute the get_users_count Celery task."""
    UserFactory.create_batch(3)
    settings.CELERY_TASK_ALWAYS_EAGER = True
    task_result = get_users_count.delay()
    assert isinstance(task_result, EagerResult)
    assert task_result.result == 3

@@ -201,10 +201,21 @@
 ry%0A%0A
-%0A@
+pytestmark = 
 pyte
@@ -232,16 +232,18 @@
 ango_db%0A
+%0A%0A
 def test

Change style for pytest marker