Skip to content

Regression

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

Failing for the past 1 build (Since #224 )
Took 59 ms.

Error Message

Failed: DID NOT RAISE <class 'omero.cli.NonZeroReturnCode'>

Stacktrace

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

    def test_checkupgrade1(self, monkeypatch):
        monkeypatch.setattr(omero.plugins.prefs, "UpgradeCheck",
                            createUpgradeCheckClass("0.0.0"))
        self.args.append("checkupgrade")
        with pytest.raises(NonZeroReturnCode) as exc:
>           self.cli.invoke(self.args, strict=True)
E           Failed: DID NOT RAISE <class 'omero.cli.NonZeroReturnCode'>

test/integration/clitest/test_admin.py:141: Failed