Skip to content

Commit 41c8583

Browse files
committed
AL-3578: Adjusted image tests
1 parent a646fd3 commit 41c8583

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/data/assets/ndjson/image_import.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,6 @@
785785
"dataRow": {
786786
"id": "ckrazctum0z8a0ybc0b0o0g0v"
787787
},
788-
"confidence": 0.734,
789788
"point": {
790789
"x": 2122,
791790
"y": 1457

tests/data/serialization/ndjson/test_image.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ def test_mask():
6464
"instanceURI":
6565
"https://storage.labelbox.com/ckqcx1czn06830y61gh9v02cs%2F3e729327-f038-f66c-186e-45e921ef9717-1?Expires=1626806874672&KeyName=labelbox-assets-key-3&Signature=YsUOGKrsqmAZ68vT9BlPJOaRyLY",
6666
"colorRGB": [255, 0, 0]
67-
},
68-
"confidence": 0.99
67+
}
6968
}]
7069
res = NDJsonConverter.deserialize(data).as_list()
7170
res = list(NDJsonConverter.serialize(res))
@@ -87,7 +86,6 @@ def test_mask_from_arr():
8786
data=ImageData(uid="0" * 25))
8887
res = next(NDJsonConverter.serialize([label]))
8988
res.pop('uuid')
90-
res.pop('confidence')
9189
assert res == {
9290
"classifications": [],
9391
"schemaId": "1" * 25,

0 commit comments

Comments
 (0)