Skip to content

Commit c87b168

Browse files
committed
fixes progress
1 parent 42f82d4 commit c87b168

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

services/web/server/tests/data/fake-project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"x": 1073,
7878
"y": 307
7979
},
80-
"progress": 100,
80+
"progress": 100.0,
8181
"state": {
8282
"currentStatus": "NOT_STARTED",
8383
"lock_state": {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,9 @@ async def test_list_projects(
217217

218218
# template project
219219
got = data[0]
220-
project_state = got.pop("state")
221-
project_permalink = got.pop("permalink")
222-
folder_id = got.pop("folderId")
220+
project_state = got.get("state")
221+
project_permalink = got.get("permalink")
222+
folder_id = got.get("folderId")
223223

224224
assert not DeepDiff(
225225
got,

0 commit comments

Comments
 (0)