Skip to content

Commit a69eb71

Browse files
committed
test
1 parent fdd5aae commit a69eb71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ async def test_open_shared_project_multiple_users(
15011501
other_users: list[
15021502
tuple[UserInfoDict, TestClient, str, socketio.AsyncClient, _SocketHandlers]
15031503
] = []
1504-
for _ in range(1, max_number_of_user_sessions):
1504+
for user_session in range(1, max_number_of_user_sessions):
15051505
client_i = client_on_running_server_factory()
15061506

15071507
# user i logs in
@@ -1521,7 +1521,7 @@ async def test_open_shared_project_multiple_users(
15211521
opened_project_state = opened_project_state.model_copy(
15221522
update={
15231523
"share_state": ProjectShareStateOutputSchema(
1524-
locked=False,
1524+
locked=(not user_session < max_number_of_user_sessions - 1),
15251525
status=ProjectStatus.OPENED,
15261526
current_user_groupids=[
15271527
*opened_project_state.share_state.current_user_groupids,

0 commit comments

Comments
 (0)