Regression
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_images_all_groups (from pytest)
Error Message
AssertionError: assert [{'id': 7353,...grp isOwned'}] == [{'archived':...': 4579, ...}] At index 0 diff: {'id': 7353, 'name': 'aluminium', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'archived': False, 'id': 7353, 'name': 'aluminium', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} Full diff: [ { - 'archived': False, 'id': 7353, 'name': 'aluminium', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7351, 'name': 'boron', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7350, 'name': 'Helium', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7349, 'name': 'hydrogen', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7348, 'name': 'Neon', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { - 'archived': False, 'id': 7352, 'name': 'Zinc', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, ]
Stacktrace
self = <test_tree.TestTree object at 0x7f5a9d7a1dc0> userA = (<omero.clients.BaseClient object at 0x7f5b1ed2eca0>, object #0 (::omero::model::Experimenter) { _id = object #1 (...nnotationLinksSeq = { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } }) images_userA = [object #0 (::omero::model::Image) { _id = object #1 (::omero::RLong) { _val = 7353 } _details... { } _name = object #55 (::omero::RString) { _val = Zinc } _description = <object #14> }] def test_marshal_images_all_groups(self, userA, images_userA): """ Test marshalling all orphaned images for a user regardless of group """ conn = get_connection(userA) expected = expected_images(userA, images_userA) marshaled = marshal_images(conn=conn, experimenter_id=userA[1].id.val, group_id=-1) > assert marshaled == expected E AssertionError: assert [{'id': 7353,...grp isOwned'}] == [{'archived':...': 4579, ...}] E E At index 0 diff: {'id': 7353, 'name': 'aluminium', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'archived': False, 'id': 7353, 'name': 'aluminium', 'ownerId': 4579, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} E E Full diff: E [ E { E - 'archived': False, E 'id': 7353, E 'name': 'aluminium', E 'ownerId': 4579, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7351, E 'name': 'boron', E 'ownerId': 4579, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7350, E 'name': 'Helium', E 'ownerId': 4579, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7349, E 'name': 'hydrogen', E 'ownerId': 4579, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7348, E 'name': 'Neon', E 'ownerId': 4579, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E - 'archived': False, E 'id': 7352, E 'name': 'Zinc', E 'ownerId': 4579, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E ] test/integration/test_tree.py:1785: AssertionError