Skip to content

Commit 7421b00

Browse files
author
Alexandr Shurigin
committed
added one more test for include tag pattern normalization
1 parent 521c43e commit 7421b00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/urls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def test_strongurl(self):
6868
def test_includes_end(self):
6969
self.assertEqual(str(url('users/:slug', include('tests'))._regex), '^users/(?P<slug>[\\w-]+)')
7070
self.assertEqual(str(url('users/:slug', include('tests', namespace='1'))._regex), '^users/(?P<slug>[\\w-]+)')
71+
self.assertEqual(str(url('users/:slug', 'tests')._regex), '^users/(?P<slug>[\\w-]+)$')
7172

7273

7374
class TestRegexUrlResolving(unittest.TestCase):

0 commit comments

Comments
 (0)