From d2cbfd6f3e61d245c355200cbf04d549c1928fb7 Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Thu, 19 Nov 2026 17:40:18 -0800 Subject: [PATCH] test(inspect): the rooted inspect shape gains the review facet Refs #659 --- tests/test_api_annotations.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_api_annotations.py b/tests/test_api_annotations.py index 4326a6c8..963ce36b 100644 --- a/tests/test_api_annotations.py +++ b/tests/test_api_annotations.py @@ -1106,7 +1106,8 @@ class TestEnvelopes(AnnotationAPITestCase): ) self.assertEqual(resp.status, 200) data = await self.json_of(resp) - # Additive only: B3 adds the image_tags facet beside the Library facts. + # Additive only: B3 adds the image_tags facet beside the Library facts, + # #659 the review facet (null for a file without an ambiguous role). self.assertEqual( sorted(data), [ @@ -1118,10 +1119,12 @@ class TestEnvelopes(AnnotationAPITestCase): "metadata", "prompts", "resolution", + "review", "root_scope", "success", ], ) + self.assertIsNone(data["review"]) self.assertEqual(sorted(data["image"]), ["filename", "path", "root_index"]) self.assertEqual(data["image_tags"], {"state": "none", "tags": []}) self.assertEqual(