]> jfr.im git - z_archive/twitter.git/commitdiff
adapt tests to now full https twitter
authorRouxRC <redacted>
Mon, 23 Nov 2015 19:49:25 +0000 (20:49 +0100)
committerRouxRC <redacted>
Mon, 23 Nov 2015 19:49:25 +0000 (20:49 +0100)
tests/test_sanity.py

index 38725f1abe59ca3f61427273df8a3c01689aed5c..36f0ad8af0678faf81e18594625156dffba071c4 100644 (file)
@@ -52,7 +52,7 @@ def test_API_set_unicode_tweet():
 
 
 def clean_link(text):
-    pos = text.find(" http://t.co")
+    pos = text.find(" https://t.co")
     if pos != -1:
         return text[:pos]
     return text