@@ -173,10 +173,10 @@ def get_full_data() -> test_utils.JsonData:
173173 # Normal test with filename 'corbi.og_brep'
174174 response = client .post (route , json = get_full_data ())
175175 assert response .status_code == 200
176- native_file_name = response .get_json ()["native_file_name " ]
177- assert type (native_file_name ) is str
178- viewable_file_name = response .get_json ()["viewable_file_name " ]
179- assert type (viewable_file_name ) is str
176+ native_filename = response .get_json ()["native_filename " ]
177+ assert type (native_filename ) is str
178+ viewable_filename = response .get_json ()["viewable_filename " ]
179+ assert type (viewable_filename ) is str
180180 id = response .get_json ().get ("id" )
181181 assert type (id ) is str
182182 object_type = response .get_json ()["viewer_type" ]
@@ -197,12 +197,12 @@ def test_texture_coordinates(client: FlaskClient, test_id: str) -> None:
197197 viewer_object = GeodePolygonalSurface3D .viewer_type (),
198198 input_file = file ,
199199 )
200- data .native_file_name = file
200+ data .native_filename = file
201201 session = get_session ()
202202 if session :
203203 session .commit ()
204204
205- data_path = geode_functions .data_file_path (data .id , data .native_file_name )
205+ data_path = geode_functions .data_file_path (data .id , data .native_filename )
206206 os .makedirs (os .path .dirname (data_path ), exist_ok = True )
207207 assert os .path .exists (data_path ), f"File not found at { data_path } "
208208 response = client .post (
@@ -225,12 +225,12 @@ def test_vertex_attribute_names(client: FlaskClient, test_id: str) -> None:
225225 viewer_object = GeodePolygonalSurface3D .viewer_type (),
226226 input_file = file ,
227227 )
228- data .native_file_name = file
228+ data .native_filename = file
229229 session = get_session ()
230230 if session :
231231 session .commit ()
232232
233- data_path = geode_functions .data_file_path (data .id , data .native_file_name )
233+ data_path = geode_functions .data_file_path (data .id , data .native_filename )
234234 os .makedirs (os .path .dirname (data_path ), exist_ok = True )
235235 assert os .path .exists (data_path ), f"File not found at { data_path } "
236236 response = client .post (route , json = {"id" : data .id })
@@ -251,12 +251,12 @@ def test_cell_attribute_names(client: FlaskClient, test_id: str) -> None:
251251 viewer_object = GeodeRegularGrid2D .viewer_type (),
252252 input_file = file ,
253253 )
254- data .native_file_name = file
254+ data .native_filename = file
255255 session = get_session ()
256256 if session :
257257 session .commit ()
258258
259- data_path = geode_functions .data_file_path (data .id , data .native_file_name )
259+ data_path = geode_functions .data_file_path (data .id , data .native_filename )
260260 os .makedirs (os .path .dirname (data_path ), exist_ok = True )
261261 assert os .path .exists (data_path ), f"File not found at { data_path } "
262262 response = client .post (route , json = {"id" : data .id })
@@ -277,12 +277,12 @@ def test_polygon_attribute_names(client: FlaskClient, test_id: str) -> None:
277277 viewer_object = GeodePolygonalSurface3D .viewer_type (),
278278 input_file = file ,
279279 )
280- data .native_file_name = file
280+ data .native_filename = file
281281 session = get_session ()
282282 if session :
283283 session .commit ()
284284
285- data_path = geode_functions .data_file_path (data .id , data .native_file_name )
285+ data_path = geode_functions .data_file_path (data .id , data .native_filename )
286286 os .makedirs (os .path .dirname (data_path ), exist_ok = True )
287287 assert os .path .exists (data_path ), f"File not found at { data_path } "
288288 response = client .post (route , json = {"id" : data .id })
@@ -303,12 +303,12 @@ def test_polyhedron_attribute_names(client: FlaskClient, test_id: str) -> None:
303303 viewer_object = GeodePolyhedralSolid3D .viewer_type (),
304304 input_file = file ,
305305 )
306- data .native_file_name = file
306+ data .native_filename = file
307307 session = get_session ()
308308 if session :
309309 session .commit ()
310310
311- data_path = geode_functions .data_file_path (data .id , data .native_file_name )
311+ data_path = geode_functions .data_file_path (data .id , data .native_filename )
312312 os .makedirs (os .path .dirname (data_path ), exist_ok = True )
313313 assert os .path .exists (data_path ), f"File not found at { data_path } "
314314 response = client .post (route , json = {"id" : data .id })
0 commit comments