from ast import literal_eval
from .config import tape, TweepyTestCase, use_replay, username
-from tweepy import API, FileCache, Friendship, MemoryCache
+from tweepy import API, FileCache, MemoryCache
+from tweepy.models import Friendship
from tweepy.parsers import Parser
test_tweet_id = '266367358078169089'
TweepyException, TwitterServerError, Unauthorized
)
from tweepy.media import Media
-from tweepy.models import (
- DirectMessage, Friendship, ModelFactory, SavedSearch, SearchResults,
- Status, User
-)
from tweepy.pagination import Paginator
from tweepy.place import Place
from tweepy.poll import Poll
from tweepy.streaming import Stream
from tweepy.tweet import ReferencedTweet, Tweet
-# from tweepy.user import User
+from tweepy.user import User
# Global, unauthenticated instance of API
api = API()