Mercurial > wikked
comparison tests/__init__.py @ 357:666a9d0981bb
Quick fixes for the unit tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 20 Sep 2015 14:40:08 -0700 |
parents | 03e3e793fa22 |
children | 1dc6a0a74da3 |
comparison
equal
deleted
inserted
replaced
356:75bcfb3b37b6 | 357:666a9d0981bb |
---|---|
70 res += ' missing' | 70 res += ' missing' |
71 url = urllib.parse.quote(url) | 71 url = urllib.parse.quote(url) |
72 res += '\" data-wiki-url=\"' + url + '\"' | 72 res += '\" data-wiki-url=\"' + url + '\"' |
73 if mod: | 73 if mod: |
74 res += ' data-wiki-mod=\"' + mod + '\"' | 74 res += ' data-wiki-mod=\"' + mod + '\"' |
75 res += ' href="/read' + url + '"' | |
75 res += '>' + title + '</a>' | 76 res += '>' + title + '</a>' |
76 return res | 77 return res |
77 | 78 |
78 | 79 |
79 def format_include(url, args=None, mod=None): | 80 def format_include(url, args=None, mod=None): |