Skip to content

Commit db4a6ee

Browse files
review @GitHK
1 parent c01ef1d commit db4a6ee

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

services/web/server/src/simcore_service_webserver/projects/models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ class Config:
9797
orm_mode = True
9898

9999

100-
# class UserProjectAccessWithWork
101-
102100
__all__: tuple[str, ...] = (
103101
"ProjectDict",
104102
"ProjectProxy",

services/web/server/tests/unit/with_dbs/02/test_projects_states_handlers.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -866,10 +866,10 @@ async def test_close_project(
866866
@pytest.mark.parametrize(
867867
"user_role, expected",
868868
[
869-
# (UserRole.ANONYMOUS, status.HTTP_401_UNAUTHORIZED),
869+
(UserRole.ANONYMOUS, status.HTTP_401_UNAUTHORIZED),
870870
(UserRole.GUEST, status.HTTP_200_OK),
871-
# (UserRole.USER, status.HTTP_200_OK),
872-
# (UserRole.TESTER, status.HTTP_200_OK),
871+
(UserRole.USER, status.HTTP_200_OK),
872+
(UserRole.TESTER, status.HTTP_200_OK),
873873
],
874874
)
875875
async def test_get_active_project(
@@ -1417,6 +1417,7 @@ async def test_open_shared_project_at_same_time(
14171417
num_assertions += 1
14181418
elif data:
14191419
project_status = ProjectState(**data.pop("state"))
1420+
data.pop("folderId")
14201421
assert data == shared_project
14211422
assert project_status.locked.value
14221423
assert project_status.locked.owner

0 commit comments

Comments
 (0)