File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -767,7 +767,12 @@ def test_what_if_analysis(operator_setup, model):
767
767
)
768
768
yaml_i ["spec" ]["horizon" ] = 10
769
769
yaml_i ["spec" ]["model" ] = model
770
- yaml_i ["spec" ]["what_if_analysis" ] = {"model_name" : f"model_{ model } " }
770
+ yaml_i ["spec" ]["what_if_analysis" ] = {
771
+ "model_name" : f"model_{ model } " ,
772
+ "model_display_name" : f"test_{ model } " ,
773
+ "project_id" : "test_project_id" ,
774
+ "compartment_id" : "test_compartment_id"
775
+ }
771
776
772
777
run_yaml (
773
778
tmpdirname = tmpdirname ,
@@ -776,7 +781,9 @@ def test_what_if_analysis(operator_setup, model):
776
781
test_metrics_check = False ,
777
782
)
778
783
report_path = f"{ output_data_path } /report.html"
784
+ deployment_metadata = f"{ output_data_path } /deployment_info.json"
779
785
assert os .path .exists (report_path ), f"Report file not found at { report_path } "
786
+ assert os .path .exists (deployment_metadata ), f"Deployment info file not found at { deployment_metadata } "
780
787
781
788
if __name__ == "__main__" :
782
789
pass
You can’t perform that action at this time.
0 commit comments