web/test/unittest_urlrewrite.py
changeset 8632 fa044b9157d7
parent 8483 4ba11607d84a
child 9359 31a1813d53f3
equal deleted inserted replaced
8631:1053b9d0fdf7 8632:fa044b9157d7
    58             ('/schema/([^/]+?)/?$', {'rql': r'Any X WHERE X is CWEType, X name "\1"', 'vid': 'primary'}),
    58             ('/schema/([^/]+?)/?$', {'rql': r'Any X WHERE X is CWEType, X name "\1"', 'vid': 'primary'}),
    59             ('/add/([^/]+?)/?$' , dict(vid='creation', etype=r'\1')),
    59             ('/add/([^/]+?)/?$' , dict(vid='creation', etype=r'\1')),
    60             ('/doc/images/(.+?)/?$', dict(fid='\\1', vid='wdocimages')),
    60             ('/doc/images/(.+?)/?$', dict(fid='\\1', vid='wdocimages')),
    61             ('/doc/?$', dict(fid='main', vid='wdoc')),
    61             ('/doc/?$', dict(fid='main', vid='wdoc')),
    62             ('/doc/(.+?)/?$', dict(fid='\\1', vid='wdoc')),
    62             ('/doc/(.+?)/?$', dict(fid='\\1', vid='wdoc')),
    63             ('/changelog/?$', dict(vid='changelog')),
       
    64             # now in SchemaBasedRewriter
    63             # now in SchemaBasedRewriter
    65             #('/search/(.+)$', dict(rql=r'Any X WHERE X has_text "\1"')),
    64             #('/search/(.+)$', dict(rql=r'Any X WHERE X has_text "\1"')),
    66             ])
    65             ])
    67 
    66 
    68 
    67