From 1364fa0e0f7b70b6f06036e547ae3e14d5d49092 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 25 Aug 2023 16:29:51 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(conftest.py):=20change=20s?= =?UTF-8?q?cope=20of=20client=20fixture=20to=20module=20and=20add=20autous?= =?UTF-8?q?e=3DTrue=20to=20ensure=20it=20is=20automatically=20used=20by=20?= =?UTF-8?q?all=20tests=20in=20the=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 1359664a0..d0829d0c8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -45,7 +45,7 @@ async def async_client() -> AsyncGenerator: # Create client fixture for FastAPI -@pytest.fixture(scope="module") +@pytest.fixture(scope="module", autouse=True) def client(): from langflow.main import create_app