def test_audience_length(self): audience_results = {"unique_id": "TEST"} user_ids = evaluate_tweets.run_analysis(self.generator, None, audience_results) self.assertEqual(audience_results['tweet_count'],len(user_ids))
def test_conversation_length(self): conversation_results = {"unique_id": "TEST"} evaluate_tweets.run_analysis(self.generator, conversation_results, None) self.assertEqual(conversation_results['tweet_count'],self.generator_length_truth)