Skip to content

Commit

Permalink
- force build
Browse files Browse the repository at this point in the history
  • Loading branch information
jprogram committed Jul 15, 2024
1 parent 30a89e2 commit b5dd2ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
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
def app():
app = create_app()
app.config.update({
"TESTING": True,
"MONGO_URI": Config.MONGO_URI
"MONGO_URI": 'mongodb://localhost:27017/jreport'
})
return app

Expand Down

0 comments on commit b5dd2ef

Please sign in to comment.