diff --git a/test/test_environment.py b/test/test_environment.py index dd2de0ea..7de1c0bf 100644 --- a/test/test_environment.py +++ b/test/test_environment.py @@ -13,12 +13,15 @@ project_with_environment_asserts = test_projects.new_c_project( # explode if environment isn't correct, as set in CIBW_ENVIRONMENT CIBW_TEST_VAR = os.environ.get("CIBW_TEST_VAR") CIBW_TEST_VAR_2 = os.environ.get("CIBW_TEST_VAR_2") + CIBW_TEST_VAR_3 = os.environ.get("CIBW_TEST_VAR_3") PATH = os.environ.get("PATH") if CIBW_TEST_VAR != "a b c": raise Exception('CIBW_TEST_VAR should equal "a b c". It was "%s"' % CIBW_TEST_VAR) if CIBW_TEST_VAR_2 != "1": raise Exception('CIBW_TEST_VAR_2 should equal "1". It was "%s"' % CIBW_TEST_VAR_2) + if CIBW_TEST_VAR_3 != "test string 3": + raise Exception('CIBW_TEST_VAR_3 should equal "test string 3". It was "%s"' % CIBW_TEST_VAR_3) if "/opt/cibw_test_path" not in PATH: raise Exception('PATH should contain "/opt/cibw_test_path". It was "%s"' % PATH) if "$PATH" in PATH: