mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 17:43:15 +00:00
more ruff fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user