Skip to content

Commit 643a6d5

Browse files
remove comments from tests
1 parent 3ed27f1 commit 643a6d5

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

tests_and_examples/run_query_tests.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class SlicingDiceTester(object):
3535
per_test_insertion = False
3636

3737
"""Test orchestration class."""
38+
3839
def __init__(self, api_key, verbose=False):
3940
# The Slicing Dice API client
4041
self.client = SlicingDice(master_key=api_key)
@@ -380,20 +381,23 @@ def indexof(x, result):
380381
def main():
381382
# SlicingDice queries to be tested. Must match the JSON file name.
382383
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'
390391
]
391392

392393
# Testing class with demo API key or one of your API key
393394
# by enviroment variable
394395
# http://panel.slicingdice.com/docs/#api-details-api-connection-api-keys-demo-key
395396
api_key = os.environ.get(
396-
"SD_API_KEY",'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.'
397+
"SD_API_KEY",
398+
# 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwcm9qZWN0X2lkIjozMDQ5NCwiY2xpZW50X2lkIjo1LCJwZXJtaXNzaW9uX2xldmVsIjozLCJfX3NhbHQiOiJtYXN0ZXIifQ.d-Bo02ogrDmqI26i0BFbwKVOA92an1j198C0xCSjHb8')
399+
400+
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.'
397401
'eyJfX3NhbHQiOiIxNTIxNzQ1ODg0MjQxIiwicGVybWlzc2lvbl9sZXZlbCI6MywicHJvamVjdF9pZCI6MzA1MDcsImNsaWVudF9pZCI6MjAzfQ.'
398402
'JKoaRhyjx-L2E_nMcwTbCPf37YxLcKjJZoQFZazLHw0')
399403

0 commit comments

Comments
 (0)