File tree Expand file tree Collapse file tree
projects/policyengine-apis-integ/tests/simulation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ cd projects/policyengine-apis-integ
102102uv sync --extra test
103103
104104export simulation_integ_test_base_url=" $BASE_URL "
105- export simulation_integ_test_gateway_auth_required=" ${GATEWAY_AUTH_REQUIRED:- } "
105+
106+ if [ -n " ${GATEWAY_AUTH_REQUIRED:- } " ]; then
107+ export simulation_integ_test_gateway_auth_required=" $GATEWAY_AUTH_REQUIRED "
108+ fi
106109
107110if [ -n " $ACCESS_TOKEN " ]; then
108111 export simulation_integ_test_access_token=" $ACCESS_TOKEN "
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ class Settings(BaseSettings):
1313 poll_interval_seconds : float = 5.0
1414 us_model_version : str = "1.562.3"
1515
16- model_config = SettingsConfigDict (env_prefix = "simulation_integ_test_" )
16+ model_config = SettingsConfigDict (
17+ env_prefix = "simulation_integ_test_" ,
18+ env_ignore_empty = True ,
19+ )
1720
1821
1922settings = Settings ()
You can’t perform that action at this time.
0 commit comments