Skip to content

Commit 8ca13bd

Browse files
mrobers1982claude
andauthored
Fix bulk_assign tests to not depend on removed member mutation (#2064)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d8518ef commit 8ca13bd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

libs/labelbox/tests/integration/test_bulk_assign.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
from labelbox.schema.task_assignment_status import TaskAssignmentStatus
22

33

4-
def test_bulk_assign_data_rows(
5-
configured_batch_project_with_label, project_based_user
6-
):
4+
def test_bulk_assign_data_rows(configured_batch_project_with_label, client):
75
project, _, data_row, _ = configured_batch_project_with_label
8-
user = project_based_user
6+
user = client.get_user()
97

108
result = project.bulk_assign_data_rows(
119
user_id=user.uid,
@@ -15,10 +13,10 @@ def test_bulk_assign_data_rows(
1513

1614

1715
def test_bulk_assign_data_rows_with_allowed_statuses(
18-
configured_batch_project_with_label, project_based_user
16+
configured_batch_project_with_label, client
1917
):
2018
project, _, data_row, _ = configured_batch_project_with_label
21-
user = project_based_user
19+
user = client.get_user()
2220

2321
result = project.bulk_assign_data_rows(
2422
user_id=user.uid,

0 commit comments

Comments
 (0)