Skip to content

Commit 39e4613

Browse files
Update test_client.py (#83)
* Update test_client.py * Update test_client.py * Update test_client.py
1 parent c9775e1 commit 39e4613

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

tests/test_client.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -498,25 +498,3 @@ def test_invite_teammates():
498498
assert len(new_teammates) >= len(
499499
old_teammates
500500
) # needs to sleep for teammates list to be updated
501-
502-
503-
STUDIO_TEST_PROJECT = "python-sdk-studio-test"
504-
505-
try:
506-
project = client.get_project(STUDIO_TEST_PROJECT)
507-
except ScaleResourceNotFound:
508-
client.create_project(
509-
project_name=STUDIO_TEST_PROJECT, task_type=TaskType.ImageAnnotation
510-
)
511-
STUDIO_BATCH_TEST_NAME = f"studio-test-batch-{current_timestamp}"
512-
513-
514-
def test_list_studio_batches():
515-
# Create a test project if it does not already exist
516-
517-
# Create a test batch
518-
client.create_batch(STUDIO_TEST_PROJECT, STUDIO_BATCH_TEST_NAME)
519-
520-
# Check that the batch is returned by the list_studio_batches method
521-
batches = client.list_studio_batches()
522-
assert len(batches) > 0

0 commit comments

Comments
 (0)