Regression
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_images_dataset_no_pixels (from pytest)
Error Message
AssertionError: assert [{'id': 7371,...sOwned', ...}] == [{'archived':...': 4585, ...}] At index 0 diff: {'id': 7371, 'name': 'ImageA', 'ownerId': 4585, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': None, 'sizeY': None, 'sizeZ': None, 'sizeT': None} != {'archived': False, 'id': 7371, 'name': 'ImageA', 'ownerId': 4585, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': None, 'sizeY': None, 'sizeT': None, 'sizeZ': None} Full diff: [ { - 'archived': False, 'id': 7371, 'name': 'ImageA', 'ownerId': 4585, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeT': None, 'sizeX': None, 'sizeY': None, 'sizeZ': None, }, { - 'archived': False, 'id': 7370, 'name': 'ImageB', 'ownerId': 4585, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeT': None, 'sizeX': None, 'sizeY': None, 'sizeZ': None, }, ]
Stacktrace
self = <test_tree.TestTree object at 0x7f5a9d85d0a0> userA = (<omero.clients.BaseClient object at 0x7f5b2159e940>, 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 = 1065 } _detai...{ } _name = object #127 (::omero::RString) { _val = ImageB } _description = <object #14> }] def test_marshal_images_dataset_no_pixels(self, userA, project_hierarchy_userA_groupA): """ Test marshalling images for userA, groupA, datasetA Images have no pixels, so should load with 'null' sizeX/Y/Z/T """ conn = get_connection(userA) dataset = project_hierarchy_userA_groupA[2] images = project_hierarchy_userA_groupA[4:6] expected = expected_images(userA, images, extraValues={'sizeX': None, 'sizeY': None, 'sizeT': None, 'sizeZ': None}) marshaled = marshal_images(conn=conn, dataset_id=dataset.id.val, load_pixels=True) > assert marshaled == expected E AssertionError: assert [{'id': 7371,...sOwned', ...}] == [{'archived':...': 4585, ...}] E E At index 0 diff: {'id': 7371, 'name': 'ImageA', 'ownerId': 4585, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': None, 'sizeY': None, 'sizeZ': None, 'sizeT': None} != {'archived': False, 'id': 7371, 'name': 'ImageA', 'ownerId': 4585, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', 'sizeX': None, 'sizeY': None, 'sizeT': None, 'sizeZ': None} E E Full diff: E [ E { E - 'archived': False, E 'id': 7371, E 'name': 'ImageA', E 'ownerId': 4585, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E 'sizeT': None, E 'sizeX': None, E 'sizeY': None, E 'sizeZ': None, E }, E { E - 'archived': False, E 'id': 7370, E 'name': 'ImageB', E 'ownerId': 4585, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E 'sizeT': None, E 'sizeX': None, E 'sizeY': None, E 'sizeZ': None, E }, E ] test/integration/test_tree.py:1842: AssertionError