Regression
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_tagged_image_pixels (from pytest)
Error Message
AssertionError: assert [{'id': 7407,...sOwned', ...}] == [{'archived':...': 4643, ...}] At index 0 diff: {'id': 7407, 'name': 'testImage', 'ownerId': 4643, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': 50, 'sizeY': 50, 'sizeZ': 5, 'sizeT': 1} != {'archived': False, 'id': 7407, 'name': 'testImage', 'ownerId': 4643, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': 50, 'sizeY': 50, 'sizeZ': 5, 'sizeT': 1} Full diff: [ { - 'archived': False, 'id': 7407, 'name': 'testImage', 'ownerId': 4643, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeT': 1, 'sizeX': 50, 'sizeY': 50, 'sizeZ': 5, }, ]
Stacktrace
self = <test_tree.TestTree object at 0x7f5a9d157700> userA = (<omero.clients.BaseClient object at 0x7f5ad6b4f2e0>, object #0 (::omero::model::Experimenter) { _id = object #1 (...nnotationLinksSeq = { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } }) tag_image_pixels = (object #0 (::omero::model::TagAnnotation) { _id = object #1 (::omero::RLong) { _val = 38138 } ... _val = testImage } _description = object #66 (::omero::RString) { _val = description } }) def test_marshal_tagged_image_pixels(self, userA, tag_image_pixels): """ Test that tagged images queries support loading of pixels to get sizeX, sizeY, sizeZ, sizeT """ tag = tag_image_pixels[0] image = tag_image_pixels[1] conn = get_connection(userA) expected = expected_images(userA, [image]) expected[0]['sizeX'] = 50 expected[0]['sizeY'] = 50 expected[0]['sizeZ'] = 5 expected[0]['sizeT'] = 1 marshaled = marshal_tagged(conn=conn, tag_id=tag.id.val, load_pixels=True) > assert marshaled['images'] == expected E AssertionError: assert [{'id': 7407,...sOwned', ...}] == [{'archived':...': 4643, ...}] E E At index 0 diff: {'id': 7407, 'name': 'testImage', 'ownerId': 4643, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': 50, 'sizeY': 50, 'sizeZ': 5, 'sizeT': 1} != {'archived': False, 'id': 7407, 'name': 'testImage', 'ownerId': 4643, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': 50, 'sizeY': 50, 'sizeZ': 5, 'sizeT': 1} E E Full diff: E [ E { E - 'archived': False, E 'id': 7407, E 'name': 'testImage', E 'ownerId': 4643, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E 'sizeT': 1, E 'sizeX': 50, E 'sizeY': 50, E 'sizeZ': 5, E }, E ] test/integration/test_tree.py:2330: AssertionError