File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ def test_resource(
9191 """
9292 error : Optional [str ] = None
9393 tb : Optional = None
94+ test_name : Optional [str ] = None
9495
9596 try :
9697 rd = load_resource_description (
@@ -101,6 +102,7 @@ def test_resource(
101102 tb = traceback .format_tb (e .__traceback__ )
102103 else :
103104 if isinstance (rd , Model ):
105+ test_name = "reproduced test outputs from test inputs"
104106 model = rd
105107 try :
106108 inputs = [np .load (str (in_path )) for in_path in model .test_inputs ]
@@ -145,7 +147,7 @@ def test_resource(
145147
146148 # todo: add tests for non-model resources
147149
148- return {"error" : error , "traceback" : tb }
150+ return {"error" : error , "traceback" : tb , "name" : test_name }
149151
150152
151153def debug_model (
You can’t perform that action at this time.
0 commit comments