Regression
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_images_dataset (from pytest)
Error Message
AssertionError: assert [{'archived':...': 4584, ...}] == [{'id': 7369,...grp isOwned'}] At index 0 diff: {'id': 7369, 'archived': None, 'name': 'ImageA', 'ownerId': 4584, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'id': 7369, 'name': 'ImageA', 'ownerId': 4584, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} Full diff: [ { + 'archived': None, 'id': 7369, 'name': 'ImageA', 'ownerId': 4584, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, { + 'archived': None, 'id': 7368, 'name': 'ImageB', 'ownerId': 4584, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, ]
Stacktrace
self = <test_tree.TestTree object at 0x7fe7082863a0> userA = (<omero.clients.BaseClient object at 0x7fe7920ff220>, object #0 (::omero::model::Experimenter) { _id = object #1 (...nnotationLinksSeq = { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } }) project_hierarchy_userA_groupA = [object #0 (::omero::model::Project) { _id = object #1 (::omero::RLong) { _val = 1063 } _detai...{ } _name = object #127 (::omero::RString) { _val = ImageB } _description = <object #14> }] def test_marshal_images_dataset(self, userA, project_hierarchy_userA_groupA): """ Test marshalling images for userA, groupA, datasetA """ conn = get_connection(userA) dataset = project_hierarchy_userA_groupA[2] images = project_hierarchy_userA_groupA[4:6] expected = expected_images(userA, images) marshaled = marshal_images(conn=conn, dataset_id=dataset.id.val) > assert marshaled == expected E AssertionError: assert [{'archived':...': 4584, ...}] == [{'id': 7369,...grp isOwned'}] E E At index 0 diff: {'id': 7369, 'archived': None, 'name': 'ImageA', 'ownerId': 4584, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'id': 7369, 'name': 'ImageA', 'ownerId': 4584, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} E E Full diff: E [ E { E + 'archived': None, E 'id': 7369, E 'name': 'ImageA', E 'ownerId': 4584, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E { E + 'archived': None, E 'id': 7368, E 'name': 'ImageB', E 'ownerId': 4584, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E ] test/integration/test_tree.py:1822: AssertionError