Failed
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_images_thumb_version[thumb1] (from pytest)
Error Message
AssertionError: assert [{'archived':...': 4575, ...}] == [{'id': 7343,...grp isOwned'}] At index 0 diff: {'id': 7343, 'archived': None, 'name': 'testImage', 'ownerId': 4575, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'id': 7343, 'name': 'testImage', 'ownerId': 4575, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} Full diff: [ { + 'archived': None, 'id': 7343, 'name': 'testImage', 'ownerId': 4575, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', }, ]
Stacktrace
self = <test_tree.TestTree object at 0x7fbf83b79d30> userA = (<omero.clients.BaseClient object at 0x7fc0028756a0>, object #0 (::omero::model::Experimenter) { _id = object #1 (...nnotationLinksSeq = { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } }) thumb = {'create': False} @pytest.mark.parametrize("thumb", [ {'create': True, 'version': 0}, {'create': False}, ]) def test_marshal_images_thumb_version(self, userA, thumb): """ Test marshalling image, loading thumbnail version """ sf = userA[0].sf image = self.create_test_image( size_x=50, size_y=50, size_z=5, session=sf, thumb=thumb['create']) conn = get_connection(userA) # Thumbnail creation is optional, see testlib.ITest.create_test_image try: extraValues = {'thumbVersion': thumb['version']} except Exception: extraValues = None expected = expected_images( userA, [image], extraValues=extraValues) marshaled = marshal_images(conn=conn, thumb_version=True, experimenter_id=userA[1].id.val) > assert marshaled == expected E AssertionError: assert [{'archived':...': 4575, ...}] == [{'id': 7343,...grp isOwned'}] E E At index 0 diff: {'id': 7343, 'archived': None, 'name': 'testImage', 'ownerId': 4575, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} != {'id': 7343, 'name': 'testImage', 'ownerId': 4575, 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned'} E E Full diff: E [ E { E + 'archived': None, E 'id': 7343, E 'name': 'testImage', E 'ownerId': 4575, E 'permsCss': 'canEdit canAnnotate canLink canDelete canChgrp isOwned', E }, E ] test/integration/test_tree.py:1750: AssertionError