more ruff fixes

This commit is contained in:
Alex 2023-09-27 18:04:07 +01:00
parent 852de8bdfc
commit 83ae3e8371
2 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,7 @@ def test_app_config():
app.register_blueprint(user)
app.register_blueprint(answer)
app.register_blueprint(internal)
app.config["UPLOAD_FOLDER"] = UPLOAD_FOLDER = "inputs"
app.config["UPLOAD_FOLDER"] = "inputs"
app.config["CELERY_BROKER_URL"] = settings.CELERY_BROKER_URL
app.config["CELERY_RESULT_BACKEND"] = settings.CELERY_RESULT_BACKEND
app.config["MONGO_URI"] = settings.MONGO_URI

View File

@ -1,5 +1,4 @@
from celery import Celery
from unittest.mock import patch, MagicMock
from unittest.mock import patch
from application.core.settings import settings
from application.celery import make_celery