+ time.sleep(2)
+ recent = twitter.statuses.user_timeline()
+ assert recent
+ assert isinstance(recent.rate_limit_remaining, int)
+ assert isinstance(recent.rate_limit_reset, int)
+ assert random_tweet == recent[0]['text']
+
+
+def test_API_set_unicode_tweet():
+ random_tweet = u"A random tweet with unicode ⇰ÐÀ " + get_random_str()
+ twitter.statuses.update(status=random_tweet)