We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ba43f2 commit 77202c7Copy full SHA for 77202c7
tests/test_scene.py
@@ -1,3 +1,4 @@
1
+import copy
2
import pytest
3
from nucleus.constants import (
4
ANNOTATIONS_KEY,
@@ -263,6 +264,9 @@ def test_scene_upload_sync(dataset):
263
264
first_scene = dataset.get_scene(scenes[0].reference_id)
265
266
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]
270
271
assert response["dataset_id"] == dataset.id
272
assert response["new_scenes"] == len(scenes)
0 commit comments