Fix tuple types in sphinx docstrings

This commit is contained in:
Cristi Vîjdea committed 2018-12-21 18:18:58 +02:00
1 parent bfd13668cc
commit dd5965fa92
8 files changed
+58 -52

No files matched your search

+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: