def testUserAPIConnectivity(self): raise unittest.SkipTest('Test disabled') try: UserClient.getInstance() except Exception, e: self.fail( msg="Could not create a Vidyo UserClient instance. Exception: " + str(e))
def createFilter(cls, apiType, query): if apiType == 'admin': vidyoClient = AdminClient.getInstance() else: vidyoClient = UserClient.getInstance() newFilter = vidyoClient.factory.create('Filter') newFilter.query = query newFilter.dir = 'DESC' return newFilter
def getVidyoClient(cls): return UserClient.getInstance()
def testUserAPIConnectivity(self): raise nose.SkipTest try: UserClient.getInstance() except Exception, e: self.fail(msg = "Could not create a Vidyo UserClient instance. Exception: " + str(e))
def search(cls, searchFilter, confId, bookingId): #Logger.get('Vidyo').info("""Evt:%s, booking:%s, opening connection to Vidyo Admin API""" % (confId, bookingId)) try: vidyoClient = UserClient.getInstance() except Exception, e: raise VidyoConnectionException(e)