mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 09:27:09 +00:00
[python] Renames python generators (#7965)
* python->python-legacy, python-experimental->python * test with openjdk8 * test with openjdk11 * comment out rm * move kotlin tests to circleci * move kotlin tests * move tests to circleci * fix circleci * rearrange test * move tests * use wrapper Co-authored-by: Justin Black <justin.a.black@gmail.com>
This commit is contained in:
8
samples/client/petstore/python-legacy/tests/util.py
Normal file
8
samples/client/petstore/python-legacy/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