vella-backend / tests /conftest.py
luanpoppe
feat: começandoa a adicionar testes com pytest
39fc36b
raw
history blame
273 Bytes
import sys
import os
import django
# Configura o Django
# Adiciona o diretório raiz do projeto ao sys.path
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "setup.settings")
django.setup()