mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-09 00:21:25 +00:00
* 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))
|