diff --git a/tests/integration/full/full_test_env_suit.py b/tests/integration/full/full_test_env_suit.py index 10323a8b96951292c7c2faca065e0e07801fec6a..619636474bd268c362db0c1dcf31b13403d252b4 100644 --- a/tests/integration/full/full_test_env_suit.py +++ b/tests/integration/full/full_test_env_suit.py @@ -40,7 +40,7 @@ class FullTestEnvSuit(BaseEnvSuitTestSuite.EnvSuitTestSuite): run_dict['Environment']['EWS-Plotting']['Ethiopia']['FilterForCountry'] = "True" run_dict['Environment']['EWS-Plotting']['Kenya']['FilterForCountry'] = "True" - os.makedirs(IntegrationTestUtils.TEST_OUT_PATH) + os.makedirs(IntegrationTestUtils.TEST_OUT_PATH, exist_ok = True) IntegrationTestUtils.TEMP_CONFIG_FILE_NAME = IntegrationTestUtils.TEST_OUT_PATH + "temp_config.json" IntegrationTestUtils.write_json_file(run_dict, IntegrationTestUtils.TEMP_CONFIG_FILE_NAME) diff --git a/tests/integration/full/full_test_survey.py b/tests/integration/full/full_test_survey.py index 9a9f294bb5b6593a716f71caac77850cb3d6bee3..157d6cc607c84c18218efc4a479c62fb0531bbec 100644 --- a/tests/integration/full/full_test_survey.py +++ b/tests/integration/full/full_test_survey.py @@ -35,7 +35,7 @@ class FullTestSurvey(BaseSurveyTestSuite.SurveyTestSuite): run_dict['WorkspacePath'] = IntegrationTestUtils.TEST_OUT_PATH run_dict['Survey']['SkipServerDownload'] = False - os.makedirs(IntegrationTestUtils.TEST_OUT_PATH) + os.makedirs(IntegrationTestUtils.TEST_OUT_PATH, exist_ok = True) IntegrationTestUtils.TEMP_CONFIG_FILE_NAME = IntegrationTestUtils.TEST_OUT_PATH + "temp_config.json" IntegrationTestUtils.write_json_file(run_dict, IntegrationTestUtils.TEMP_CONFIG_FILE_NAME) diff --git a/tests/integration/partial/integration_test_utils.py b/tests/integration/partial/integration_test_utils.py index 916d933f84c371a75815009c90cda6f2d2707f94..c52a98a3bfefa7fb723d61356085b2a3c4533d35 100644 --- a/tests/integration/partial/integration_test_utils.py +++ b/tests/integration/partial/integration_test_utils.py @@ -102,7 +102,7 @@ class IntegrationTestUtils: _test_report_dir = IntegrationTestUtils.TEST_JOB_DIR """ - the HTMLTestRunner will create the directory if it does not exist, we are putting the poutout into the + the HTMLTestRunner will create the directory if it does not exist, we are putting the output into the TEST_OUT_PATH, which is the top-level test directory for this run, not the TEST_JOB_DIR, which is the dir for the pipeline being tested """