Skip to content

Commit cba9c66

Browse files
Apply prepare changes
1 parent 2a751c6 commit cba9c66

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Packages """
1+
"""Packages"""
22

33
import os
44

src/opengeodeweb_back/routes/blueprint_routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ def polygon_attribute_names():
371371
) as file:
372372
polyhedron_attribute_names_json = json.load(file)
373373

374+
374375
@routes.route(
375376
polyhedron_attribute_names_json["route"],
376377
methods=polyhedron_attribute_names_json["methods"],

tests/test_routes.py

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,13 @@ def test_vertex_attribute_names(client):
175175
)
176176
assert response.status_code == 201
177177

178-
response = client.post("/save_viewable_file", json={
179-
"input_geode_object": "PolygonalSurface3D",
180-
"filename": "vertex_attribute.vtp",
181-
})
178+
response = client.post(
179+
"/save_viewable_file",
180+
json={
181+
"input_geode_object": "PolygonalSurface3D",
182+
"filename": "vertex_attribute.vtp",
183+
},
184+
)
182185
assert response.status_code == 200
183186
native_file_name = response.json["native_file_name"]
184187

@@ -208,10 +211,13 @@ def test_polygon_attribute_names(client):
208211
)
209212
assert response.status_code == 201
210213

211-
response = client.post("/save_viewable_file", json={
212-
"input_geode_object": "PolygonalSurface3D",
213-
"filename": "polygon_attribute.vtp",
214-
})
214+
response = client.post(
215+
"/save_viewable_file",
216+
json={
217+
"input_geode_object": "PolygonalSurface3D",
218+
"filename": "polygon_attribute.vtp",
219+
},
220+
)
215221
assert response.status_code == 200
216222
native_file_name = response.json["native_file_name"]
217223

@@ -242,10 +248,13 @@ def test_polyhedron_attribute_names(client):
242248
)
243249
assert response.status_code == 201
244250

245-
response = client.post("/save_viewable_file", json={
246-
"input_geode_object": "HybridSolid3D",
247-
"filename": "polyhedron_attribute.vtu",
248-
})
251+
response = client.post(
252+
"/save_viewable_file",
253+
json={
254+
"input_geode_object": "HybridSolid3D",
255+
"filename": "polyhedron_attribute.vtu",
256+
},
257+
)
249258
assert response.status_code == 200
250259
native_file_name = response.json["native_file_name"]
251260

0 commit comments

Comments
 (0)