fix path to the unit test data folder (#2201)
This commit is contained in:
parent
d8d20d7aa5
commit
696e620468
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ load_dotenv()
|
||||||
|
|
||||||
def pytest_configure(config):
|
def pytest_configure(config):
|
||||||
config.addinivalue_line("markers", "noclient: don't create a client for this test")
|
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.BASIC_EXAMPLE_PATH = data_path / "basic_example.json"
|
||||||
pytest.COMPLEX_EXAMPLE_PATH = data_path / "complex_example.json"
|
pytest.COMPLEX_EXAMPLE_PATH = data_path / "complex_example.json"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue