def test_entity_type(self): nlp = NLP() nlp.analyze_entities(test_content) self.assertTrue(nlp.get_entity_types())