Regression
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_images_all_users (from pytest)
Error Message
AssertionError: assert [{'id': 7357,...canAnnotate'}] == [{'archived':...': 4581, ...}] At index 0 diff: {'id': 7357, 'name': 'boron', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'archived': False, 'id': 7357, 'name': 'boron', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} Full diff: [ { - 'archived': False, 'id': 7357, 'name': 'boron', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7356, 'name': 'Helium', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7355, 'name': 'hydrogen', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7354, 'name': 'Neon', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7359, 'name': 'nitrogen', 'ownerId': 4581, 'permsCss': 'canAnnotate', }, { - 'archived': False, 'id': 7358, 'name': 'Oxygen', 'ownerId': 4581, 'permsCss': 'canAnnotate', }, ]
Stacktrace
self = <test_tree.TestTree object at 0x7f5a9d148d60> userA = (<omero.clients.BaseClient object at 0x7f5ac770f730>, object #0 (::omero::model::Experimenter) { _id = object #1 (...nnotationLinksSeq = { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } }) groupA = object #0 (::omero::model::ExperimenterGroup) { _id = object #1 (::omero::RLong) { _val = 3480 } ... { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } _description = <nil> } images_groupA = [object #0 (::omero::model::Image) { _id = object #1 (::omero::RLong) { _val = 7357 } _details... { } _name = object #55 (::omero::RString) { _val = Oxygen } _description = <object #14> }] def test_marshal_images_all_users(self, userA, groupA, images_groupA): """ Test marshalling all orphaned images for a group regardless of user """ conn = get_connection(userA) expected = expected_images(userA, images_groupA) marshaled = marshal_images(conn=conn, group_id=groupA.id.val) > assert marshaled == expected E AssertionError: assert [{'id': 7357,...canAnnotate'}] == [{'archived':...': 4581, ...}] E E At index 0 diff: {'id': 7357, 'name': 'boron', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'archived': False, 'id': 7357, 'name': 'boron', 'ownerId': 4580, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} E E Full diff: E [ E { E - 'archived': False, E 'id': 7357, E 'name': 'boron', E 'ownerId': 4580, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7356, E 'name': 'Helium', E 'ownerId': 4580, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7355, E 'name': 'hydrogen', E 'ownerId': 4580, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7354, E 'name': 'Neon', E 'ownerId': 4580, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7359, E 'name': 'nitrogen', E 'ownerId': 4581, E 'permsCss': 'canAnnotate', E }, E { E - 'archived': False, E 'id': 7358, E 'name': 'Oxygen', E 'ownerId': 4581, E 'permsCss': 'canAnnotate', E }, E ] test/integration/test_tree.py:1795: AssertionError