From 8985dff1ac5fc43049abe0a3ec7234a73afb54f1 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 27 Sep 2021 23:25:56 -0500 Subject: [PATCH] Remove mock_tweet --- tests/test_utils.py | 8 -------- 1 file changed, 8 deletions(-) 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): -- 2.25.1