Regression
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_images_user (from pytest)
Error Message
AssertionError: assert [{'archived':...': 4572, ...}] == [{'id': 7340,...grp isOwned'}] At index 0 diff: {'id': 7340, 'archived': None, 'name': 'boron', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'id': 7340, 'name': 'boron', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} Full diff: [ { + 'archived': None, 'id': 7340, 'name': 'boron', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { + 'archived': None, 'id': 7339, 'name': 'Helium', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { + 'archived': None, 'id': 7338, 'name': 'hydrogen', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { + 'archived': None, 'id': 7337, 'name': 'Neon', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, ]
Stacktrace
self = <test_tree.TestTree object at 0x7fe70891c940> userA = (<omero.clients.BaseClient object at 0x7fe78ee6e0d0>, object #0 (::omero::model::Experimenter) { _id = object #1 (...nnotationLinksSeq = { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } }) images_userA_groupA = [object #0 (::omero::model::Image) { _id = object #1 (::omero::RLong) { _val = 7340 } _details... { } _name = object #55 (::omero::RString) { _val = Neon } _description = <object #14> }] def test_marshal_images_user(self, userA, images_userA_groupA): # TODO Add fixture to create plate images to ensure these are not # being returned as orphans """ Test marshalling user's own orphaned images in current group """ conn = get_connection(userA) expected = expected_images(userA, images_userA_groupA) marshaled = marshal_images(conn=conn, experimenter_id=userA[1].id.val) > assert marshaled == expected E AssertionError: assert [{'archived':...': 4572, ...}] == [{'id': 7340,...grp isOwned'}] E E At index 0 diff: {'id': 7340, 'archived': None, 'name': 'boron', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'id': 7340, 'name': 'boron', 'ownerId': 4572, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} E E Full diff: E [ E { E + 'archived': None, E 'id': 7340, E 'name': 'boron', E 'ownerId': 4572, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E + 'archived': None, E 'id': 7339, E 'name': 'Helium', E 'ownerId': 4572, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E + 'archived': None, E 'id': 7338, E 'name': 'hydrogen', E 'ownerId': 4572, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E + 'archived': None, E 'id': 7337, E 'name': 'Neon', E 'ownerId': 4572, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E ] test/integration/test_tree.py:1711: AssertionError