[Python/tornado] add integration tests and fix bugs (#6925)

* tests: add integration test for python-tornado

* [python-tornado-client] tests: increase timeout for test_upload_file

* [python-tornado-client] fix: tornado client passes tests
This commit is contained in:
Tomasz Prus
2017-11-13 05:03:55 +01:00
committed by William Cheng
parent 63d28cf75b
commit 4e967e696c
10 changed files with 322 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
# flake8: noqa
import random
def id_gen(bits=32):
""" Returns a n-bit randomly generated int """
return int(random.getrandbits(bits))