From 43129973b90a0e8312be8a99e337f6b9ff01d81d Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 16 Oct 2019 11:05:46 -0500 Subject: [PATCH] Use unittest method to skip test Instead of nose --- tests/test_api.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_api.py b/tests/test_api.py index 05d44a4..72a4c0e 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -5,8 +5,6 @@ import time import unittest from ast import literal_eval -from nose import SkipTest - from .config import tape, TweepyTestCase, use_replay, username from tweepy import API, FileCache, Friendship, MemoryCache from tweepy.parsers import Parser @@ -74,8 +72,7 @@ class TweepyAPITests(TweepyTestCase): self.api.retweets_of_me() def testretweet(self): - # TODO(josh): Need a way to get random tweets to retweet. - raise SkipTest() + self.skipTest('Missing method to retrieve random Tweet to Retweet') @tape.use_cassette('testretweets.json') def testretweets(self): -- 2.25.1