Skip to content

Commit 3bac4d6

Browse files
committed
fix tests
1 parent ec3dfa9 commit 3bac4d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integration/test_project.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,5 +287,6 @@ def test_label_count(client, configured_batch_project_with_label):
287287
assert project.get_label_count() == 0
288288
project.delete()
289289

290-
num_labels = sum([1 for _ in configured_batch_project_with_label.labels()])
291-
assert configured_batch_project_with_label.get_label_count() == num_labels
290+
[source_project, _, _, _] = configured_batch_project_with_label
291+
num_labels = sum([1 for _ in source_project.labels()])
292+
assert source_project.get_label_count() == num_labels

0 commit comments

Comments
 (0)