Skip to content

Commit 52979c4

Browse files
Merge branch 'feat/extensions' of https://github.com/Geode-solutions/OpenGeodeWeb-Back into feat/extensions
2 parents 9b70f2d + dd71a91 commit 52979c4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/opengeodeweb_back/routes/create/blueprint_create.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
)
2323
def point() -> flask.Response:
2424
"""Endpoint to create a single point in 3D space."""
25-
json_data = utils_functions.validate_request(
26-
flask.request, schemas_dict["point"]
27-
)
25+
json_data = utils_functions.validate_request(flask.request, schemas_dict["point"])
2826
params = schemas.Point.from_dict(json_data)
2927

3028
# Create the point

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def configure_test_environment() -> Generator[None, None, None]:
4949
shutil.rmtree(tmp_data_path, ignore_errors=True)
5050
print(f"Cleaned up test data folder: {tmp_data_path}", flush=True)
5151

52+
5253
@pytest.fixture
5354
def client() -> Generator[FlaskClient, None, None]:
5455
app.config["REQUEST_COUNTER"] = 0

0 commit comments

Comments
 (0)