🔧 chore(conftest.py): comment out unused monkeypatching of USE_CELERY variable to improve code readability and maintainability

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-22 14:15:55 -03:00
commit a658f5af89

View file

@ -106,7 +106,7 @@ def distributed_client_fixture(session: Session, monkeypatch, distributed_env):
# monkeypatch langflow.services.task.manager.USE_CELERY to True
monkeypatch.setenv("LANGFLOW_AUTO_LOGIN", False)
monkeypatch.setattr(manager, "USE_CELERY", True)
# monkeypatch.setattr(manager, "USE_CELERY", True)
monkeypatch.setattr(
celery_app, "celery_app", celery_app.make_celery("langflow", Config)
)