annotate rss2twitter/rss2twitter/tests/teste_tinyur.py @ 1:0dbf81b8a8f4

project skeleton
author waltercruz
date Mon, 12 May 2008 17:42:42 +0000
parents
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