diff --git a/tests/conftest.py b/tests/conftest.py index d876aa316..e30401602 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -8,6 +8,7 @@ from typing import TYPE_CHECKING, AsyncGenerator import orjson import pytest +from dotenv import load_dotenv from fastapi.testclient import TestClient from httpx import AsyncClient from langflow.graph.graph.base import Graph @@ -27,6 +28,9 @@ if TYPE_CHECKING: from langflow.services.database.service import DatabaseService +load_dotenv() + + def pytest_configure(config): config.addinivalue_line("markers", "noclient: don't create a client for this test") data_path = Path(__file__).parent.absolute() / "data"