Skip to content

Regression

OmeroPy.test.integration.clitest.test_admin.TestAdminRestrictedAdmin.test_checkupgrade0 (from pytest)

Failing for the past 1 build (Since #225 )
Took 0.1 sec.

Error Message

omero.cli.NonZeroReturnCode: assert failed

Stacktrace

self = <test.integration.clitest.test_admin.TestAdminRestrictedAdmin object at 0x7f72c105b910>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7291a28ac0>

    def test_checkupgrade0(self, monkeypatch):
        monkeypatch.setattr(omero.plugins.prefs, "UpgradeCheck",
                            createUpgradeCheckClass("999999999.0.0"))
        self.args.append("checkupgrade")
>       self.cli.invoke(self.args, strict=True)

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

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

    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