Ejemplo n.º 1
0
 def get_user_timeline(self, id: str) -> List[Status]:
     status_1 = Status()
     status_1._json = {"text": "tweet_1"}
     status_2 = Status()
     status_2._json = {"text": "tweet_2"}
     return [status_2, status_1]
Ejemplo n.º 2
0
 def post_tweet(self, text: str) -> Status:
     log(f"Fake Tweet Sent: \"{text}\"")
     status = Status()
     status._json = {"text": f"{text}"}
     return status
Ejemplo n.º 3
0
def __create_fake_user_timeline() -> List[Status]:
    status_1 = Status()
    status_1._json = {"text": "tweet_1 1. #"}
    status_2 = Status()
    status_2._json = {"text": "tweet_2 2. #"}
    return [status_2, status_1]