view rss2twitter/tests/teste_tinyur.py @ 2:5f9d10c77240

working
author waltercruz
date Fri, 16 May 2008 18:56:58 +0000
parents rss2twitter/rss2twitter/tests/teste_tinyur.py@0dbf81b8a8f4
children
line wrap: on
line source

from rss2twitter.tinyurl import tiny

def test_google():
    url = tiny('http://google.com')
    assert('http://tinyurl.com/2tx' == url)