Skip to content

Regression

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

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

Error Message

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

Stacktrace

self = <test.integration.clitest.test_admin.TestAdmin object at 0x7f7cfe359ee0>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7cd63a9cd0>

    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.go()
E           Failed: DID NOT RAISE <class 'omero.cli.NonZeroReturnCode'>

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