@@ -169,12 +169,9 @@ def get_full_data():
169169 test_utils .test_route_wrong_params (client , route , get_full_data )
170170
171171
172- def test_texture_coordinates (client , test_id ):
172+ def test_texture_coordinates (client , test_id ):
173173 with client .application .app_context ():
174- data = Data .create (
175- geode_object = "PolygonalSurface3D" ,
176- input_file = "hat.vtp"
177- )
174+ data = Data .create (geode_object = "PolygonalSurface3D" , input_file = "hat.vtp" )
178175 data .native_file_name = "hat.vtp"
179176 database .session .commit ()
180177
@@ -185,9 +182,7 @@ def test_texture_coordinates(client, test_id):
185182
186183 response = client .post (
187184 "/texture_coordinates" ,
188- json = {
189- "id" : data .id
190- },
185+ json = {"id" : data .id },
191186 )
192187 assert response .status_code == 200
193188 texture_coordinates = response .json ["texture_coordinates" ]
@@ -198,12 +193,9 @@ def test_texture_coordinates(client, test_id):
198193
199194def test_vertex_attribute_names (client , test_id ):
200195 route = f"/vertex_attribute_names"
201-
196+
202197 with client .application .app_context ():
203- data = Data .create (
204- geode_object = "PolygonalSurface3D" ,
205- input_file = "test.vtp"
206- )
198+ data = Data .create (geode_object = "PolygonalSurface3D" , input_file = "test.vtp" )
207199 data .native_file_name = "test.vtp"
208200 database .session .commit ()
209201
@@ -222,12 +214,9 @@ def test_vertex_attribute_names(client, test_id):
222214
223215def test_polygon_attribute_names (client , test_id ):
224216 route = f"/polygon_attribute_names"
225-
217+
226218 with client .application .app_context ():
227- data = Data .create (
228- geode_object = "PolygonalSurface3D" ,
229- input_file = "test.vtp"
230- )
219+ data = Data .create (geode_object = "PolygonalSurface3D" , input_file = "test.vtp" )
231220 data .native_file_name = "test.vtp"
232221 database .session .commit ()
233222
@@ -245,12 +234,9 @@ def test_polygon_attribute_names(client, test_id):
245234
246235def test_polyhedron_attribute_names (client , test_id ):
247236 route = f"/polyhedron_attribute_names"
248-
237+
249238 with client .application .app_context ():
250- data = Data .create (
251- geode_object = "PolyhedralSolid3D" ,
252- input_file = "test.vtu"
253- )
239+ data = Data .create (geode_object = "PolyhedralSolid3D" , input_file = "test.vtu" )
254240 data .native_file_name = "test.vtu"
255241 database .session .commit ()
256242
0 commit comments