Skip to content

Commit 77202c7

Browse files
author
Ubuntu
committed
Review feedback
1 parent 5ba43f2 commit 77202c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_scene.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import copy
12
import pytest
23
from nucleus.constants import (
34
ANNOTATIONS_KEY,
@@ -263,6 +264,9 @@ def test_scene_upload_sync(dataset):
263264
first_scene = dataset.get_scene(scenes[0].reference_id)
264265

265266
assert first_scene == scenes[0]
267+
first_scene_modified = copy.deepcopy(first_scene)
268+
first_scene_modified.reference_id = "WRONG!"
269+
assert first_scene_modified != scenes[0]
266270

267271
assert response["dataset_id"] == dataset.id
268272
assert response["new_scenes"] == len(scenes)

0 commit comments

Comments
 (0)