Commit d444b72f authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Fix environment variable

parent 314f8137
......@@ -61,9 +61,9 @@ By default, these tests are not run (they are marked as skipped). To enable them
NABU_LONG_TESTS=1 nabu-test
```
Some tests might read data from a specific location instead of downloading it. You can provide this location with the environment variable `NABU_TESTDATA_DIR`:
Some tests might read data from a specific location instead of downloading it. You can provide this location with the environment variable `NABU_BIGDATA_DIR`:
```bash
NABU_TESTDATA_DIR=/tmp/nabu_testdir nabu-test
NABU_BIGDATA_DIR=/tmp/nabu_testdir nabu-test
```
......@@ -10,10 +10,13 @@ utilstest = ExternalResources(
timeout=60
)
__big_testdata_dir__ = os.environ.get("BIG_TESTDATA_DIR")
__big_testdata_dir__ = os.environ.get("NABU_TESTDATA_DIR")
if __big_testdata_dir__ is None or not(os.path.isdir(__big_testdata_dir__)):
__big_testdata_dir__ = None
__do_slow_tests = os.environ.get("NABU_TESTDATA_DIR")
def generate_tests_scenarios(configurations):
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment