Skip to content

Commit 46259c4

Browse files
committed
adapts tests
1 parent a768e93 commit 46259c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/web/server/src/simcore_service_webserver/folders/_exceptions_handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
),
5151
FolderValueNotPermittedError: HttpErrorInfo(
5252
status.HTTP_409_CONFLICT,
53-
"Provided folder value is not permitted. {reason}",
53+
"Provided folder value is not permitted: {reason}",
5454
),
5555
FoldersValueError: HttpErrorInfo(
5656
status.HTTP_409_CONFLICT,
57-
"Invalid folder value set. {reason}",
57+
"Invalid folder value set: {reason}",
5858
),
5959
ProjectRunningConflictError: HttpErrorInfo(
6060
status.HTTP_409_CONFLICT,

services/web/server/tests/unit/with_dbs/04/folders/test_folders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ async def test_sub_folders_full_workflow(
192192
"parentFolderId": f"{subsubfolder_folder['folderId']}",
193193
},
194194
)
195-
await assert_status(resp, status.HTTP_400_BAD_REQUEST)
195+
await assert_status(resp, status.HTTP_409_CONFLICT)
196196

197197
# move sub sub folder to root folder
198198
url = client.app.router["replace_folder"].url_for(

0 commit comments

Comments
 (0)