Skip to content

Commit 43bb4be

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent bdb1758 commit 43bb4be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/opengeodeweb_back/routes/blueprint_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def save_viewable_file():
252252
utils_functions.generate_native_viewable_and_light_viewable_from_file(
253253
flask.request.json["input_geode_object"],
254254
"upload",
255-
flask.request.json["filename"]
255+
flask.request.json["filename"],
256256
),
257257
200,
258258
)

tests/test_utils_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ def test_generate_native_viewable_and_light_viewable_from_file(client):
102102
geode_object = "BRep"
103103
data_id = "test_data"
104104
input_filename = "test.og_brep"
105-
105+
106106
# Copier le fichier de test dans le dossier data_id
107107
import shutil
108108
import os
109+
109110
data_path = geode_functions.data_file_path(data_id, input_filename)
110111
os.makedirs(os.path.dirname(data_path), exist_ok=True)
111112
shutil.copy("./tests/data/test.og_brep", data_path)

0 commit comments

Comments
 (0)