Ticket #13260: t13260-test.diff

File t13260-test.diff, 839 bytes (added by Russell Keith-Magee, 15 years ago)

Test case demonstrating problem

  • tests/regressiontests/urlpatterns_reverse/tests.py

    diff -r e8e099e867f1 tests/regressiontests/urlpatterns_reverse/tests.py
    a b  
    6868    ('headlines', '/headlines/2007.5.21/', [], dict(year=2007, month=5, day=21)),
    6969    ('windows', r'/windows_path/C:%5CDocuments%20and%20Settings%5Cspam/', [], dict(drive_name='C', path=r'Documents and Settings\spam')),
    7070    ('special', r'/special_chars/+%5C$*/', [r'+\$*'], {}),
     71    ('special', r'/special_chars/some%20resource/', [r'some resource'], {}),
     72    ('special', r'/special_chars/10%25%20complete/', [r'10% complete'], {}),
    7173    ('special', NoReverseMatch, [''], {}),
    7274    ('mixed', '/john/0/', [], {'name': 'john'}),
    7375    ('repeats', '/repeats/a/', [], {}),
Back to Top