Stack Trace
self = <test.integration.clitest.test_admin.TestAdmin object at 0x7f13ec73f050>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f13daae7b90>
def test_checkupgrade0(self, monkeypatch):
monkeypatch.setattr(omero.plugins.prefs, "UpgradeCheck",
createUpgradeCheckClass("999999999.0.0"))
self.args.append("checkupgrade")
> self.go()
test/integration/clitest/test_admin.py:66:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/integration/clitest/test_admin.py:60: in go
self.cli.invoke(self.args, strict=True)
../../../../.venv3/lib64/python3.11/site-packages/omero/cli.py:1211: in invoke
self.assertRC()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <omero.cli.CLI object at 0x7f13ec1c0f90>
def assertRC(self):
if self.rv != 0:
> raise NonZeroReturnCode(self.rv, "assert failed")
E omero.cli.NonZeroReturnCode: assert failed
../../../../.venv3/lib64/python3.11/site-packages/omero/cli.py:1200: NonZeroReturnCode