def setup_class(cls, tmpdir, monkeypatch): ice_config = tmpdir / "ice.config" ice_config.write("omero.host=localhost\nomero.port=4064") monkeypatch.setenv("ICE_CONFIG", ice_config) cls.g = _BlitzGateway()
def gateway(): """Create a BlitzGateway object.""" return _BlitzGateway()