Exemplo n.º 1
0
 def test_quickly2(self):
     soup = parser.parse_document(self.xml)
     self.assertEqual(raw_parser.article_type(soup), "research-article")
Exemplo n.º 2
0
 def test_quickly2(self):
     soup = parser.parse_document(self.xml)
     self.assertEqual(raw_parser.article_type(soup), "research-article")
Exemplo n.º 3
0
def article_type(soup):
    # no node text extraction required
    return raw_parser.article_type(soup)