Journal of Testing
1234567
10.1000/test.123
A Study of Testing
IvanovIvan
NotAnAuthorX
2024
This is the abstract text.
First paragraph of the body.
Second paragraph with a ref inline.
"""
def _article() -> ET.Element:
return ET.fromstring(ARTICLE_XML)
def test_parse_article_extracts_all_fields():
raw = PMCParser()._parse_article(_article())
assert raw["id"] == "1234567"
assert raw["doi"] == "10.1000/test.123"
assert raw["title"] == "A Study of Testing" # вложенный