Skip to content

Commit

Permalink
test: fix the basic manifest test
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdh committed Apr 28, 2023
1 parent 2d110d2 commit 26023c7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/unit/builders/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,17 @@ def test_basic(self):
annotation = canvas['items'][0]['items'][0]
assert annotation['type'] == 'Annotation'
assert annotation['motivation'] == 'painting'
assert annotation['body'] == {'id': image_id, 'type': 'Image'}
assert annotation['body'] == {
'id': image_id,
'type': 'Image',
'service': [
{
'id': image_id,
'type': 'ImageService3',
'profile': 'level2',
},
],
}


class TestGetImages:
Expand Down

0 comments on commit 26023c7

Please sign in to comment.