Fix a spacing issue, making flake8 happy again.

This commit is contained in:
Aleksey Zhukov 2017-05-23 20:27:57 +03:00
parent da2fb5a7f6
commit 28f7c547b6
No known key found for this signature in database
GPG Key ID: E1C3A2857EFC7C66

View File

@ -32,7 +32,7 @@ class TestRecursiveUrlViewSets(TestCase):
for route in (('not_dummies',), ('dummy', 'aaaas'), ('dummy', 'bbbbs')):
path = "-".join(route)
self.assertTrue(
re.search(header_re.format(level=1+len(route), path=path, title=route[-1]), self.content),
re.search(header_re.format(level=1 + len(route), path=path, title=route[-1]), self.content),
'unable to find documentation section for {}'.format(path)
)
for method in ('read', 'create'):