Skip to content

Commit de1c7b3

Browse files
committed
fix test
1 parent becfa28 commit de1c7b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_slice.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import copy
22
import pytest
3+
import uuid
34
from nucleus import Slice, NucleusClient, DatasetItem, BoxAnnotation
45
from nucleus.constants import (
56
ANNOTATIONS_KEY,
@@ -170,7 +171,7 @@ def test_slice_send_to_labeling(dataset):
170171

171172
# Slice creation
172173
slc = dataset.create_slice(
173-
name=TEST_SLICE_NAME,
174+
name=(TEST_SLICE_NAME + str(uuid.uuid4())[-10:]),
174175
reference_ids=[ds_items[0].reference_id, ds_items[1].reference_id],
175176
)
176177

0 commit comments

Comments
 (0)