Skip to content

Commit

Permalink
Check missing outputs and test run calc, unless explicitly requested …
Browse files Browse the repository at this point in the history
…setting corresponding env variables to '0'
  • Loading branch information
ptormene committed Feb 9, 2024
1 parent 702fe8b commit df22eb1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions svir/test/integration/test_drive_oq_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@

LONG_LOADING_TIME = 10 # seconds
ONLY_OUTPUT_TYPE = os.environ.get('ONLY_OUTPUT_TYPE')

# Run all tests unless explicitly specified setting those env variables to '0'
OQ_CHECK_MISSING_OUTPUTS = (
False if os.environ.get('OQ_CHECK_MISSING_OUTPUTS') != '1' else True)
False if os.environ.get('OQ_CHECK_MISSING_OUTPUTS') == '0' else True)
OQ_TEST_RUN_CALC = (
False if os.environ.get('OQ_TEST_RUN_CALC') != '1' else True)
False if os.environ.get('OQ_TEST_RUN_CALC') == '0' else True)


def run_all():
Expand Down

0 comments on commit df22eb1

Please sign in to comment.