The mox3 library is removed in favor of the standard library mock module and installed via pytest-mock. As a bonus, most of the unit tests currently marked as broken as reactivated and should be passing on Python 3.8-3.11.
While the changes do not strictly depend on https://github.com/ome/omero-py/pull/385, both PRs will need to be deployed together in order to functionally test an OMERO.server with Dropbox in a Python 3.11 environment.
Companion to https://github.com/ome/omero-py/pull/385, this PR makes the minimal set of adjustements to test
omero-dropbox
on Python 3.11.The
mox3
library is removed in favor of the standard librarymock
module and installed viapytest-mock
. As a bonus, most of the unit tests currently marked as broken as reactivated and should be passing on Python 3.8-3.11.While the changes do not strictly depend on https://github.com/ome/omero-py/pull/385, both PRs will need to be deployed together in order to functionally test an OMERO.server with Dropbox in a Python 3.11 environment.