mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-12 15:27:13 +02:00
added additional tests
All checks were successful
Build on RHEL9 / buildh (push) Successful in 1m52s
All checks were successful
Build on RHEL9 / buildh (push) Successful in 1m52s
This commit is contained in:
@ -25,5 +25,10 @@ def pytest_collection_modifyitems(config, items):
|
||||
|
||||
@pytest.fixture
|
||||
def test_data_path():
|
||||
return Path(os.environ["AARE_TEST_DATA"])
|
||||
env_value = os.environ.get("AARE_TEST_DATA")
|
||||
if not env_value:
|
||||
raise RuntimeError("Environment variable AARE_TEST_DATA is not set or is empty")
|
||||
|
||||
return Path(env_value)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user