File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -77,18 +77,16 @@ def test_generate_native_viewable_and_light_viewable():
7777 data = geode_functions .load (
7878 geode_object , os .path .join (folder_absolute_path , "test.og_brep" )
7979 )
80- if not os .path .isdir (folder_absolute_path ):
81- raise ValueError (f"Invalid folder path: { folder_absolute_path } " )
82- # folder_absolute_path = "None"
80+ folder_absolute_path = "None"
8381 result = utils_functions .generate_native_viewable_and_light_viewable (
8482 geode_object , data , folder_absolute_path
8583 )
8684 assert type (result ) is dict
8785 assert type (result ["name" ]) is str
8886 assert type (result ["native_file_name" ]) is str
89- assert re .match (r"native \.[a-zA-Z0-9]+" , result ["native_file_name" ])
87+ assert re .match (r"[0-9a-f]{32} \.[a-zA-Z0-9]+" , result ["native_file_name" ])
9088 assert type (result ["viewable_file_name" ]) is str
91- assert re .match (r"viewable \.[a-zA-Z0-9]+" , result ["viewable_file_name" ])
89+ assert re .match (r"[0-9a-f]{32} \.[a-zA-Z0-9]+" , result ["viewable_file_name" ])
9290 assert type (result ["id" ]) is str
9391 assert re .match (r"[0-9a-f]{32}" , result ["id" ])
9492 assert type (result ["object_type" ]) is str
You can’t perform that action at this time.
0 commit comments