def test_tweet_and_delete(self):
     twitter_client = TwitterClient()
     number = randint(0, 100)
     twitter_client.tweet('Tweeting for our test coverage! #' + str(number))
     # Second one to make sure we catch duplicate status
     twitter_client.tweet('Tweeting for our test coverage! #' + str(number))
     twitter_client.delete_latest_tweet()
     assert True
 def test_enriched_tweet_exception(self):
     twitter_client = TwitterClient()
     tweet_percentage_tuple = 55, 45
     teams_tuple = 'Brewers', 'Pirates'
     slug = 'mlb-2016-mil-pit-2016-04-17-1335'
     sport = 'mlb'
     self.assertEqual(True, twitter_client.enriched_tweet_based_on_confidence(tweet_percentage_tuple, teams_tuple, slug, sport))
     twitter_client.delete_latest_tweet()
     tweet_percentage_tuple = 45, 55
     self.assertEqual(True, twitter_client.enriched_tweet_based_on_confidence(tweet_percentage_tuple, teams_tuple, slug, sport))
     twitter_client.delete_latest_tweet()
 def test_tweet_and_delete(self):
     twitter_client = TwitterClient()
     number = randint(0, 100)
     twitter_client.tweet('Tweeting for our test coverage! #' + str(number))
     twitter_client.delete_latest_tweet()
     assert True