mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Add a url that tinyurl had some problems with
This commit is contained in:
parent
9dd2680a9f
commit
2c78876a5e
@ -105,20 +105,23 @@ if sqlite is not None:
|
||||
self.assertNotError('url config tinyurlsnarfer off')
|
||||
self.assertRegexp('url tiny http://sourceforge.net/tracker/?'\
|
||||
'func=add&group_id=58965&atid=489447',
|
||||
r'http://tinyurl.com/\w{4}')
|
||||
r'http://tinyurl.com/rqac')
|
||||
self.assertNotError('url config tinyurlsnarfer on')
|
||||
self.assertRegexp('url tiny http://sourceforge.net/tracker/?'\
|
||||
'func=add&group_id=58965&atid=489447',
|
||||
r'http://tinyurl.com/\w{4}')
|
||||
r'http://tinyurl.com/rqac')
|
||||
self.assertRegexp('url tiny http://sourceforge.net/tracker/?'\
|
||||
'func=add&group_id=58965&atid=489447',
|
||||
r'http://tinyurl.com/\w{4}')
|
||||
r'http://tinyurl.com/rqac')
|
||||
|
||||
def testTinysnarf(self):
|
||||
self.assertNotError('url config tinyurlsnarfer on')
|
||||
self.assertRegexp('http://sourceforge.net/tracker/?'\
|
||||
'func=add&group_id=58965&atid=489447',
|
||||
r'http://tinyurl.com/\w{4}.* \(was')
|
||||
r'http://tinyurl.com/rqac.* \(was')
|
||||
self.assertRegexp('http://www.urbandictionary.com/define.php?'\
|
||||
'term=all+your+base+are+belong+to+us',
|
||||
r'http://tinyurl.com/u479.* \(was')
|
||||
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||
|
Loading…
Reference in New Issue
Block a user