def test_get_names_size_empty(self): '''COMMENT''' self.assertEquals(0, len(parsers.get_names(81100)))
def test_get_names(self): '''COMMENT''' nme = Name('2-(p-Chloro-o-tolyloxy)propionic acid', 'SYNONYM', 'ChemIDplus', False, 'en') self.assertIn(nme, parsers.get_names(75711))
def test_get_names_size(self): '''COMMENT''' self.assertTrue(len(parsers.get_names(14)) > 5)
def test_get_names_size_neg(self): '''COMMENT''' self.assertEquals(0, len(parsers.get_names(-1)))
def test_get_names(self): '''COMMENT''' nme = Name('2-(p-Chloro-o-tolyloxy)propionic acid', 'SYNONYM', 'ChemIDplus', False, 'en') self.assertIn(nme, parsers.get_names(75711))
def test_get_names_size_empty(self): '''COMMENT''' self.assertEquals(0, len(parsers.get_names(81100)))
def test_get_names_size_neg(self): '''COMMENT''' self.assertEquals(0, len(parsers.get_names(-1)))
def test_get_names_size(self): '''COMMENT''' self.assertTrue(5 < len(parsers.get_names(14)))
def test_get_names_size(self): '''COMMENT''' self.assertTrue(len(parsers.get_names(15393)) <= 12)