🔥 Remove Celery and Flower, they are currently not used nor recommended (#694)

This commit is contained in:
Sebastián Ramírez
2024-03-12 19:19:03 +01:00
committed by GitHub
parent 63eb8b5ef8
commit 1e256bce5d
20 changed files with 3 additions and 466 deletions

View File

@@ -1,16 +0,0 @@
from fastapi.testclient import TestClient
from app.core.config import settings
def test_celery_worker_test(
client: TestClient, superuser_token_headers: dict[str, str]
) -> None:
data = {"message": "test"}
r = client.post(
f"{settings.API_V1_STR}/utils/test-celery/",
json=data,
headers=superuser_token_headers,
)
response = r.json()
assert response["message"] == "Word received"