def test_create_Tweet_objects_with_invalid_argument(self):
		search = TwitterSearch(self.api, self.db, self.scorer, self.query, self.args)
		try:
			search.create_Tweet_objects("Invalid")
			self.fail()
		except TypeError:
			pass
 def test_create_Tweet_objects_with_invalid_argument(self):
     search = TwitterSearch(self.api, self.db, self.scorer, self.query,
                            self.args)
     try:
         search.create_Tweet_objects("Invalid")
         self.fail()
     except TypeError:
         pass
 def test_create_Tweet_objects(self):
     search = TwitterSearch(self.api, self.db, self.scorer, self.query,
                            self.args)
     results = search.get_100_search_results()
     tweets = search.create_Tweet_objects(results)
     self.assertIsInstance(tweets, list)
     self.assertIsInstance(tweets[0], Tweet)