Skip to content

Commit

Permalink
Initial refactoring of cc e2e tests #314
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvdavies committed Jul 3, 2024
1 parent 06ffdeb commit 8f8eb1b
Show file tree
Hide file tree
Showing 6 changed files with 1,856 additions and 1,844 deletions.
2 changes: 1 addition & 1 deletion inventory_management_system_api/routers/v1/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def create_system(system: SystemPostSchema, system_service: SystemServiceDep) ->
logger.exception(message)
raise HTTPException(status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, detail=message) from exc
except DuplicateRecordError as exc:
message = "A system with the same name already exists within the same parent system"
message = "A system with the same name already exists within the parent system"
logger.exception(message)
raise HTTPException(status_code=status.HTTP_409_CONFLICT, detail=message) from exc

Expand Down
Loading

0 comments on commit 8f8eb1b

Please sign in to comment.