Fix tuple types in sphinx docstrings

This commit is contained in:
Cristi Vîjdea
2018-12-21 18:18:58 +02:00
parent bfd13668cc
commit dd5965fa92
8 changed files with 58 additions and 52 deletions
+2 -2
View File
@@ -1,4 +1,3 @@
import inspect
import json
from collections import OrderedDict
@@ -156,7 +155,8 @@ def test_url_order():
assert swagger['paths']['/test/']['get']['description'] == 'description override'
# get_endpoints only includes one endpoint
assert len(generator.get_endpoints(None)['/test/'][1]) == 1
endpoints = generator.get_endpoints(None)
assert len(endpoints['/test/'][1]) == 1
try: