File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed
src/main/resources/handlebars/pythonFlaskConnexion Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ class {{#operations}}Test{{classname}}(BaseTestCase):
14
14
"""{ {classname} } integration test stubs"""
15
15
16
16
{ {#operation} }
17
+ { {#contents} }
18
+ { {#@first} }
17
19
def test_{ {operationId} }(self):
18
20
"""Test case for { {{operationId} }}
19
21
@@ -43,6 +45,8 @@ class {{#operations}}Test{{classname}}(BaseTestCase):
43
45
self.assert200(response,
44
46
'Response body is : ' + response.data.decode('utf-8'))
45
47
48
+ { {/@first} }
49
+ { {/contents} }
46
50
{ {/operation} }
47
51
{ {/operations} }
48
52
Original file line number Diff line number Diff line change 1
- connexion == 2.6.0
1
+ connexion >= 2.6.0
2
+ connexion[swagger-ui] >= 2.6.0
2
3
python_dateutil == 2.6.0
3
4
{ {#supportPython2} }
4
5
typing == 3.5.2.2
5
6
{ {/supportPython2} }
6
7
setuptools >= 21.0.0
8
+ swagger-ui-bundle >= 0.0.2
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ VERSION = "{{packageVersion}}"
13
13
# prerequisite: setuptools
14
14
# http://pypi.python.org/pypi/setuptools
15
15
16
- REQUIRES = ["connexion"]
16
+ REQUIRES = [
17
+ "connexion",
18
+ "swagger-ui-bundle>=0.0.2"
19
+ ]
17
20
18
21
setup(
19
22
name=NAME,
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = { {#supportPython2} }py27, { {/supportPython2} }py35
2
+ envlist = { {#supportPython2} }py27, { {/supportPython2} }py38
3
3
4
4
[testenv]
5
5
deps=-r{ toxinidir} /requirements.txt
You can’t perform that action at this time.
0 commit comments