def METHOD_NAME(self):
    # c = omero.client(self.host, omero.constants.GLACIER2PORT)
    c = omero.client(self.host, self.port)
    try:
        c.createSession("root", self.rootpasswd)
        c.closeSession()
    finally:
        c.__del__()