Skip to content

Commit cae8ea3

Browse files
Fix env variable casting to int
1 parent efa0501 commit cae8ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests_and_examples/run_query_tests.py

Lines changed: 1 addition & 1 deletion
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 = os.environ.get("CLIENT_SLEEP_TIME", 5) # seconds
43+
self.sleep_time = int(os.environ.get("CLIENT_SLEEP_TIME", 5)) # seconds
4444
self.path = 'examples/' # Directory containing examples to test
4545
self.extension = '.json' # Examples file format
4646

0 commit comments

Comments
 (0)