Skip to content

Commit dbade96

Browse files
Shorter sleep to make test more faster
1 parent 6a30245 commit dbade96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests_and_examples/run_query_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, api_key, verbose=False, endpoint_test=True):
4040
# Translation table for fields with timestamp
4141
self.field_translation = {}
4242

43-
self.sleep_time = 30 # seconds
43+
self.sleep_time = 3 # seconds
4444
self.path = 'examples/' # Directory containing examples to test
4545
self.extension = '.json' # Examples file format
4646

@@ -115,7 +115,7 @@ def create_fields(self, test):
115115

116116
for field in test['fields']:
117117
self._append_timestamp_to_field_name(field)
118-
self.client.create_field(field, test=True)
118+
self.client.create_field(field, test=self.endpoint_test)
119119

120120
if self.verbose:
121121
print ' - {}'.format(field['api-name'])

0 commit comments

Comments
 (0)