🔧 chore(conftest.py): change scope of client fixture to module and add autouse=True to ensure it is automatically used by all tests in the module
This commit is contained in:
parent
aa633ff2de
commit
1364fa0e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue