diff --git a/tests/test_app.py b/tests/test_app.py index 96e88ea..c32c403 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -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 diff --git a/tests/test_celery.py b/tests/test_celery.py index d4b86b6..bfb6a35 100644 --- a/tests/test_celery.py +++ b/tests/test_celery.py @@ -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