Ticket #27781: 27781.diff

File 27781.diff, 592 bytes (added by Mariusz Felisiak, 7 years ago)
  • tests/admin_docs/test_views.py

    diff --git a/tests/admin_docs/test_views.py b/tests/admin_docs/test_views.py
    index 34f6af6..0915e01 100644
    a b class AdminDocViewFunctionsTests(SimpleTestCase):  
    336336            (r'^(?P<a>(x|y))/b/(?P<c>\w+)$', '/<a>/b/<c>'),
    337337            (r'^(?P<a>(x|y))/b/(?P<c>\w+)ab', '/<a>/b/<c>ab'),
    338338            (r'^(?P<a>(x|y)(\(|\)))/b/(?P<c>\w+)ab', '/<a>/b/<c>ab'),
     339            (r'^a/?$', '/a/'),
    339340        )
    340341        for pattern, output in tests:
    341342            self.assertEqual(simplify_regex(pattern), output)
Back to Top