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):
767767 )
768768 yaml_i ["spec" ]["horizon" ] = 10
769769 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+ }
771776
772777 run_yaml (
773778 tmpdirname = tmpdirname ,
@@ -776,7 +781,9 @@ def test_what_if_analysis(operator_setup, model):
776781 test_metrics_check = False ,
777782 )
778783 report_path = f"{ output_data_path } /report.html"
784+ deployment_metadata = f"{ output_data_path } /deployment_info.json"
779785 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 } "
780787
781788if __name__ == "__main__" :
782789 pass
You can’t perform that action at this time.
0 commit comments