Skip to content

Commit

Permalink
Merge pull request #6340 from jburel/python_test
Browse files Browse the repository at this point in the history
use getOwnerOmeName() instead of getOwnerOmeName. Error with Python 3.8
  • Loading branch information
jburel authored Jan 11, 2023
2 parents 81a5b5d + 09ffb95 commit 0fcb15d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def testGetImage(self, gatewaywrapper, author_testimg_tiny):
testImage.isGreyscaleRenderingModel()
assert image._re.getDefaultZ() == testImage._re.getDefaultZ()
assert image._re.getDefaultT() == testImage._re.getDefaultT()
assert image.getOwnerOmeName == testImage.getOwnerOmeName
assert image.getOwnerOmeName() == testImage.getOwnerOmeName()
assert image.getThumbVersion() is not None

@pytest.mark.parametrize("load_pixels", [True, False])
Expand Down Expand Up @@ -660,7 +660,7 @@ def testGetProject(self, gatewaywrapper):
assert testProj.getId() == p.getId()
assert testProj.OMERO_CLASS == p.OMERO_CLASS
assert testProj.countChildren_cached() == p.countChildren_cached()
assert testProj.getOwnerOmeName == p.getOwnerOmeName
assert testProj.getOwnerOmeName() == p.getOwnerOmeName()

def testTraversal(self, author_testimg_tiny):
image = author_testimg_tiny
Expand Down

0 comments on commit 0fcb15d

Please sign in to comment.