mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-27 09:45:05 +08:00
fix path to the unit test data folder (#2201)
This commit is contained in:
@ -35,7 +35,7 @@ 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"
|
||||
data_path = Path(__file__).parent.parent.absolute() / "data"
|
||||
|
||||
pytest.BASIC_EXAMPLE_PATH = data_path / "basic_example.json"
|
||||
pytest.COMPLEX_EXAMPLE_PATH = data_path / "complex_example.json"
|
||||
|
||||
Reference in New Issue
Block a user