From b5dd2efe56cf7588dbe1b6765e9d5eceb5966424 Mon Sep 17 00:00:00 2001 From: Jefferson Gomes Date: Mon, 15 Jul 2024 18:09:17 -0300 Subject: [PATCH] - force build --- backend/tests/conftest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/tests/conftest.py b/backend/tests/conftest.py index bedcd83..f8ad536 100644 --- a/backend/tests/conftest.py +++ b/backend/tests/conftest.py @@ -2,12 +2,10 @@ import os import pytest - # Adiciona o diretório 'backend' ao caminho de importação do Python sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from log_config import setup_test_logging -from config import Config from app import create_app @pytest.fixture @@ -15,7 +13,7 @@ def app(): app = create_app() app.config.update({ "TESTING": True, - "MONGO_URI": Config.MONGO_URI + "MONGO_URI": 'mongodb://localhost:27017/jreport' }) return app