def testNoCrashInvalidArguments(): c = Cyclops('localhost:8090') try: c.getPoints(['ds', 'gloup']) except: pass try: c.nnSearchById(['ds', 'gloup']) except: pass try: print( list( c.nnSearchById( "gloup.mp3", 'ds', { 'distance': 'euclidean', 'params': { 'descriptorNames': '*.mean' } }).get(10, keys=['tempotap_bpm']))) except: pass
def testNoCrashInvalidArguments(): c = Cyclops('localhost:8090') try: c.getPoints([ 'ds', 'gloup' ]) except: pass try: c.nnSearchById([ 'ds', 'gloup' ]) except: pass try: print list(c.nnSearchById("gloup.mp3", 'ds', { 'distance': 'euclidean', 'params': { 'descriptorNames': '*.mean' }}).get(10, keys = [ 'tempotap_bpm' ])) except: pass