Skip to content

Commit b5dd2ef

Browse files
committed
- force build
1 parent 30a89e2 commit b5dd2ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backend/tests/conftest.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@
22
import os
33
import pytest
44

5-
65
# Adiciona o diretório 'backend' ao caminho de importação do Python
76
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
87

98
from log_config import setup_test_logging
10-
from config import Config
119
from app import create_app
1210

1311
@pytest.fixture
1412
def app():
1513
app = create_app()
1614
app.config.update({
1715
"TESTING": True,
18-
"MONGO_URI": Config.MONGO_URI
16+
"MONGO_URI": 'mongodb://localhost:27017/jreport'
1917
})
2018
return app
2119

0 commit comments

Comments
 (0)