File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ def test_income_layer_overrides_are_loaded_from_env(self):
495495 self .assertEqual (settings .income_layer_start_usd , 250000.0 )
496496 self .assertEqual (settings .income_layer_max_ratio , 0.25 )
497497
498- def test_ibit_zscore_exit_overrides_are_loaded_from_env (self ):
498+ def test_ibit_smart_dca_profile_is_rejected_on_longbridge (self ):
499499 with patch .dict (
500500 os .environ ,
501501 {
@@ -509,14 +509,8 @@ def test_ibit_zscore_exit_overrides_are_loaded_from_env(self):
509509 },
510510 clear = True ,
511511 ):
512- settings = load_platform_runtime_settings (project_id_resolver = lambda : "project-1" )
513-
514- self .assertTrue (settings .ibit_zscore_exit_enabled )
515- self .assertEqual (settings .ibit_zscore_exit_mode , "live" )
516- self .assertEqual (settings .ibit_zscore_exit_parking_symbol , "BOXX" )
517- self .assertEqual (settings .ibit_zscore_exit_risk_reduced_exposure , 0.5 )
518- self .assertEqual (settings .ibit_zscore_exit_risk_off_exposure , 0.25 )
519- self .assertTrue (settings .ibit_zscore_exit_allow_outside_execution_window )
512+ with self .assertRaises (ValueError ):
513+ load_platform_runtime_settings (project_id_resolver = lambda : "project-1" )
520514
521515 def test_tech_runtime_execution_window_override_rejects_research_only_profile (self ):
522516 with patch .dict (
You can’t perform that action at this time.
0 commit comments