FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit d6dc15e5 authored by L. Bower's avatar L. Bower
Browse files

adding full env suit test

parent 25afa675
No related branches found
No related tags found
No related merge requests found
......@@ -56,10 +56,10 @@ class FullTestEnvSuit(unittest.TestCase):
east_africa_image_path = os.path.join(FullTestEnvSuit.TEST_OUT_PATH, FullTestEnvSuit.TEST_JOB_DIR,
"plotting", "eastafrica", "images", "Weekly",
"suitability_eastafrica_leaf_rust_total_202210010000_202210070000_map.png")
"suitability_eastafrica_leaf_rust_total_*_map.png")
ethiopia_image_path = os.path.join(FullTestEnvSuit.TEST_OUT_PATH, FullTestEnvSuit.TEST_JOB_DIR,
"plotting", "ethiopia", "images", "Weekly",
"suitability_ethiopia_leaf_rust_total_202210010000_202210070000_map.png")
"suitability_ethiopia_leaf_rust_total_*_map.png")
ea_file_exists: bool = os.path.isfile(east_africa_image_path)
eth_file_exists: bool = os.path.isfile(ethiopia_image_path)
......@@ -114,7 +114,7 @@ if __name__ == '__main__':
FullTestEnvSuit.TEST_START_DATE = IntegrationTestUtils.generate_run_date(_run_date_type, _custom_run_date)
FullTestEnvSuit.TEST_JOB_DIR = "ENVIRONMENT" \
FullTestEnvSuit.TEST_JOB_DIR = "ENVIRONMENT_2.0" \
"_" + FullTestEnvSuit.TEST_START_DATE
# Now set the sys.argv to the unittest_args (leaving sys.argv[0] alone)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment