Skip to content

Commit 9a1a53e

Browse files
committed
fixed tests
1 parent 7d752cd commit 9a1a53e

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

packages/pytest-simcore/src/pytest_simcore/simcore_webserver_projects_rest_api.py

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ def request_desc(self) -> str:
7070
"prjOwner": "[email protected]",
7171
"tags": [],
7272
"state": {
73-
"locked": {"value": False, "status": "CLOSED"},
73+
"shareState": {
74+
"status": "CLOSED",
75+
"locked": False,
76+
"currentUserGroupids": [],
77+
},
7478
"state": {"value": "NOT_STARTED"},
7579
},
7680
"dev": None,
@@ -114,7 +118,11 @@ def request_desc(self) -> str:
114118
"quality": {},
115119
"tags": [],
116120
"state": {
117-
"locked": {"value": False, "status": "CLOSED"},
121+
"shareState": {
122+
"status": "CLOSED",
123+
"locked": False,
124+
"currentUserGroupids": [],
125+
},
118126
"state": {"value": "NOT_STARTED"},
119127
},
120128
"workspace_id": None,
@@ -284,14 +292,10 @@ def request_desc(self) -> str:
284292
},
285293
"tags": [],
286294
"state": {
287-
"locked": {
288-
"value": True,
289-
"owner": {
290-
"user_id": 1,
291-
"first_name": "crespo",
292-
"last_name": "",
293-
},
295+
"shareState": {
294296
"status": "OPENED",
297+
"locked": True,
298+
"currentUserGroupids": [1],
295299
},
296300
"state": {"value": "NOT_STARTED"},
297301
},
@@ -547,14 +551,10 @@ def request_desc(self) -> str:
547551
},
548552
"tags": [],
549553
"state": {
550-
"locked": {
551-
"value": True,
552-
"owner": {
553-
"user_id": 1,
554-
"first_name": "crespo",
555-
"last_name": "",
556-
},
554+
"shareState": {
557555
"status": "OPENED",
556+
"locked": True,
557+
"currentUserGroupids": [1],
558558
},
559559
"state": {"value": "NOT_STARTED"},
560560
},
@@ -734,7 +734,11 @@ def request_desc(self) -> str:
734734
},
735735
"tags": [],
736736
"state": {
737-
"locked": {"value": False, "status": "CLOSED"},
737+
"shareState": {
738+
"status": "CLOSED",
739+
"locked": False,
740+
"currentUserGroupids": [],
741+
},
738742
"state": {"value": "NOT_STARTED"},
739743
},
740744
}
@@ -988,7 +992,11 @@ def request_desc(self) -> str:
988992
"prjOwner": "[email protected]",
989993
"tags": [22],
990994
"state": {
991-
"locked": {"value": False, "status": "CLOSED"},
995+
"shareState": {
996+
"status": "CLOSED",
997+
"locked": False,
998+
"currentUserGroupids": [],
999+
},
9921000
"state": {"value": "NOT_STARTED"},
9931001
},
9941002
}

0 commit comments

Comments
 (0)