forked from loafle/openapi-generator-original
* 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
9 lines
145 B
Python
9 lines
145 B
Python
# flake8: noqa
|
|
|
|
import random
|
|
|
|
|
|
def id_gen(bits=32):
|
|
""" Returns a n-bit randomly generated int """
|
|
return int(random.getrandbits(bits))
|