forked from loafle/openapi-generator-original
rename python-nextgen to python (#15504)
This commit is contained in:
8
samples/openapi3/client/petstore/python/tests/util.py
Normal file
8
samples/openapi3/client/petstore/python/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