diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rss2twitter/tests/teste_tinyur.py	Fri May 16 18:56:58 2008 +0000
@@ -0,0 +1,6 @@
+from rss2twitter.tinyurl import tiny
+
+def test_google():
+    url = tiny('http://google.com')
+    assert('http://tinyurl.com/2tx' == url)
+