From: Harmon Date: Tue, 28 Sep 2021 04:25:56 +0000 (-0500) Subject: Remove mock_tweet X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8985dff1ac5fc43049abe0a3ec7234a73afb54f1;p=tweepy.git Remove mock_tweet --- diff --git a/tests/test_utils.py b/tests/test_utils.py index c7eb012..acbb97b 100644 --- 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):