Skip to content

Commit 0e5aa97

Browse files
committed
Fix
1 parent 9198e99 commit 0e5aa97

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
minversion = 3.0
33
log_cli=true
44
python_files = test_*.py
5-
;addopts = -n auto --dist=lo adscope
5+
;addopts = -n auto --dist=loadscope

tests/integration/annotations/test_annotations_upload_status_change.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
from tests.integration.base import BaseTestCase
1111

1212

13-
class TestAnnotationUploadVector(BaseTestCase):
14-
PROJECT_NAME = "TestAnnotationUploadVector"
13+
class TestAnnotationUploadStatusChangeVector(BaseTestCase):
14+
PROJECT_NAME = "TestAnnotationUploadStatusChangeVector"
1515
PROJECT_DESCRIPTION = "Desc"
1616
PROJECT_TYPE = "Vector"
1717
S3_FOLDER_PATH = "sample_project_pixel"

tests/integration/projects/test_add_contributors_to_project.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,5 @@ def test_invite_contributors(self, client, get_team_mock):
7575
)
7676

7777
added, skipped = sa.invite_contributors_to_team(to_add_emails, False)
78-
self.assertEqual(len(added), 5)
78+
self.assertEqual(len(added), 3)
7979
self.assertEqual(len(skipped), 5)
80-
81-
def test_(self):
82-
print(sa.invite_contributors_to_team(["user_annotate92@mailinator.com", "user_annotate9@mailinator.com"], admin=True))

tests/integration/test_fuse_gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_fuse_image_create_pixel(self):
151151
self.assertEqual(im1_array.dtype, im2_array.dtype)
152152
self.assertTrue(np.array_equal(im1_array, im2_array))
153153

154-
@pytest.mark.flaky(reruns=3)
154+
@pytest.mark.flaky(reruns=4)
155155
def test_fuse_image_create_pixel_with_no_classes(self):
156156
with tempfile.TemporaryDirectory() as temp_dir:
157157
temp_dir = pathlib.Path(temp_dir)
@@ -174,4 +174,4 @@ def test_fuse_image_create_pixel_with_no_classes(self):
174174
temp_dir,
175175
include_annotations=True,
176176
include_fuse=True,
177-
)
177+
)

0 commit comments

Comments
 (0)