Fix coverage problems

This commit is contained in:
Cristi Vîjdea
2018-01-12 04:36:04 +01:00
parent 6c4dcb18bb
commit bc4037f721
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -97,6 +97,8 @@ class EndpointEnumerator(_EndpointEnumerator):
namespace="%s:%s" % (namespace, pattern.namespace) if namespace else pattern.namespace
)
api_endpoints.extend(nested_endpoints)
else:
logger.warning("unknown pattern type {}".format(type(pattern)))
api_endpoints = sorted(api_endpoints, key=endpoint_ordering)