File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ class SlicingDiceTester(object):
35
35
per_test_insertion = False
36
36
37
37
"""Test orchestration class."""
38
+
38
39
def __init__ (self , api_key , verbose = False ):
39
40
# The Slicing Dice API client
40
41
self .client = SlicingDice (master_key = api_key )
@@ -380,20 +381,23 @@ def indexof(x, result):
380
381
def main ():
381
382
# SlicingDice queries to be tested. Must match the JSON file name.
382
383
query_types = [
383
- # 'count_entity',
384
- # 'count_event',
385
- 'top_values'
386
- # 'aggregation',
387
- # 'score',
388
- # 'result',
389
- # 'sql'
384
+ 'count_entity' ,
385
+ 'count_event' ,
386
+ 'top_values' ,
387
+ 'aggregation' ,
388
+ 'score' ,
389
+ 'result' ,
390
+ 'sql'
390
391
]
391
392
392
393
# Testing class with demo API key or one of your API key
393
394
# by enviroment variable
394
395
# http://panel.slicingdice.com/docs/#api-details-api-connection-api-keys-demo-key
395
396
api_key = os .environ .get (
396
- "SD_API_KEY" ,'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.'
397
+ "SD_API_KEY" ,
398
+ # 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwcm9qZWN0X2lkIjozMDQ5NCwiY2xpZW50X2lkIjo1LCJwZXJtaXNzaW9uX2xldmVsIjozLCJfX3NhbHQiOiJtYXN0ZXIifQ.d-Bo02ogrDmqI26i0BFbwKVOA92an1j198C0xCSjHb8')
399
+
400
+ 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.'
397
401
'eyJfX3NhbHQiOiIxNTIxNzQ1ODg0MjQxIiwicGVybWlzc2lvbl9sZXZlbCI6MywicHJvamVjdF9pZCI6MzA1MDcsImNsaWVudF9pZCI6MjAzfQ.'
398
402
'JKoaRhyjx-L2E_nMcwTbCPf37YxLcKjJZoQFZazLHw0' )
399
403
You can’t perform that action at this time.
0 commit comments