Skip to content

Failed

OmeroPy.test.integration.clitest.test_download.TestDownload.testFileAnnotationTmpfile (from pytest)

Failing for the past 2 builds (Since #184 )
Took 29 ms.

Error Message

omero.cli.NonZeroReturnCode: assert failed

Stacktrace

self = <test.integration.clitest.test_download.TestDownload object at 0x7f0a5b625820>
tmpdir = local('/tmp/pytest-of-omero/pytest-3/testFileAnnotationTmpfile0')

    def testFileAnnotationTmpfile(self, tmpdir):
        ofile = self.create_original_file(b"test")
        fa = omero.model.FileAnnotationI()
        fa.setFile(ofile)
        fa = self.update.saveAndReturnObject(fa)
        tmpfile = tmpdir.join('test')
        self.args += ['FileAnnotation:%s' % str(fa.id.val), str(tmpfile)]
>       self.cli.invoke(self.args, strict=True)

test/integration/clitest/test_download.py:131: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../../.venv3/lib64/python3.9/site-packages/omero/cli.py:1211: in invoke
    self.assertRC()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <omero.cli.CLI object at 0x7f0ab1237eb0>

    def assertRC(self):
        if self.rv != 0:
>           raise NonZeroReturnCode(self.rv, "assert failed")
E           omero.cli.NonZeroReturnCode: assert failed

../../../../.venv3/lib64/python3.9/site-packages/omero/cli.py:1200: NonZeroReturnCode