diff --git a/atst/domain/workspaces.py b/atst/domain/workspaces.py index 4adf0567..f3fc8c63 100644 --- a/atst/domain/workspaces.py +++ b/atst/domain/workspaces.py @@ -30,7 +30,9 @@ class Workspaces(object): except NoResultFound: raise NotFoundError("workspace") - if not Authorization.has_workspace_permission(user, workspace, Permissions.VIEW_WORKSPACE): + if not Authorization.has_workspace_permission( + user, workspace, Permissions.VIEW_WORKSPACE + ): raise UnauthorizedError(user, "get workspace") return workspace