forked from loafle/openapi-generator-original
[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:
committed by
William Cheng
parent
63d28cf75b
commit
4e967e696c
8
samples/client/petstore/python-tornado/tests/util.py
Normal file
8
samples/client/petstore/python-tornado/tests/util.py
Normal 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))
|
||||
Reference in New Issue
Block a user