You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: tests/test_tweet_length.py
+4-7
Original file line number
Diff line number
Diff line change
@@ -63,15 +63,12 @@ def test_split_tweets(self):
63
63
tweets=self.api._TweetTextWrap(test_tweet)
64
64
self.assertEqual(
65
65
tweets[0],
66
-
"Anatole went out of the room and returned a few minutes later wearing a fur coat girt with a silver belt, and a sable cap jauntily set on")
66
+
"Anatole went out of the room and returned a few minutes later wearing a fur coat girt with a silver belt, and a sable cap jauntily set on one side and very becoming to his handsome face. Having looked in a mirror, and standing before Dolokhov in the same pose he had assumed")
67
67
self.assertEqual(
68
68
tweets[1],
69
-
"one side and very becoming to his handsome face. Having looked in a mirror, and standing before Dolokhov in the same pose he had assumed")
70
-
self.assertEqual(
71
-
tweets[2],
72
69
"before it, he lifted a glass of wine.")
73
70
74
-
test_tweet="t.co went t.co of t.co room t.co returned t.co few minutes later"
71
+
test_tweet="t.co went t.co of t.co room t.co returned t.co few minutes later and then t.co went to t.co restroom and t.co was sad because t.co did not have any t.co toilet paper"
75
72
tweets=self.api._TweetTextWrap(test_tweet)
76
-
self.assertEqual(tweets[0], 't.co went t.co of t.co room t.co returned')
77
-
self.assertEqual(tweets[1], 't.co few minutes later')
73
+
self.assertEqual(tweets[0], 't.co went t.co of t.co room t.co returned t.co few minutes later and then t.co went to t.co restroom and t.co was sad because')
74
+
self.assertEqual(tweets[1], 't.co did not have any t.co toilet paper')
0 commit comments