annotate 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
rev   line source
1
0dbf81b8a8f4 project skeleton
waltercruz
parents:
diff changeset
1 from rss2twitter.tinyurl import tiny
0dbf81b8a8f4 project skeleton
waltercruz
parents:
diff changeset
2
0dbf81b8a8f4 project skeleton
waltercruz
parents:
diff changeset
3 def test_google():
0dbf81b8a8f4 project skeleton
waltercruz
parents:
diff changeset
4 url = tiny('http://google.com')
0dbf81b8a8f4 project skeleton
waltercruz
parents:
diff changeset
5 assert('http://tinyurl.com/2tx' == url)
0dbf81b8a8f4 project skeleton
waltercruz
parents:
diff changeset
6