projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f071fd
)
Remove mock_tweet
author
Harmon
<Harmon758@gmail.com>
Tue, 28 Sep 2021 04:25:56 +0000
(23:25 -0500)
committer
Harmon
<Harmon758@gmail.com>
Tue, 28 Sep 2021 04:25:56 +0000
(23:25 -0500)
tests/test_utils.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_utils.py
b/tests/test_utils.py
index c7eb0124421285e50dd24732d5ea4d67d75a9099..acbb97ba4aed795f18adf2e6652d223b4b1f7819 100644
(file)
--- a/
tests/test_utils.py
+++ b/
tests/test_utils.py
@@
-1,16
+1,8
@@
-import random
-import string
import unittest
from tweepy.utils import *
-def mock_tweet():
- """Generate some random tweet text."""
- count = random.randint(70, 140)
- return ''.join([random.choice(string.ascii_letters) for _ in range(count)])
-
-
class TweepyUtilsTests(unittest.TestCase):
def testlist_to_csv(self):