summaryrefslogtreecommitdiffstats
path: root/tests/test_csl.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-27 15:20:11 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-27 15:20:11 -0700
commit23458a69c2c7db89a66681843e4b9c7f643362c7 (patch)
tree34e84867092de8364d9978004fbcc051030a2117 /tests/test_csl.py
parent6a34c0b8d5976bb35aecf3c794166e711b338f18 (diff)
downloadgrobid_tei_xml-23458a69c2c7db89a66681843e4b9c7f643362c7.tar.gz
grobid_tei_xml-23458a69c2c7db89a66681843e4b9c7f643362c7.zip
make fmt (black 21.9b0)
Diffstat (limited to 'tests/test_csl.py')
-rw-r--r--tests/test_csl.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/test_csl.py b/tests/test_csl.py
index 27c8c3e..e8ded91 100644
--- a/tests/test_csl.py
+++ b/tests/test_csl.py
@@ -3,7 +3,7 @@ from grobid_tei_xml import parse_document_xml
def test_small_xml_csl() -> None:
- with open('tests/files/small.xml', 'r') as f:
+ with open("tests/files/small.xml", "r") as f:
tei_xml = f.read()
d = parse_document_xml(tei_xml)
@@ -11,10 +11,7 @@ def test_small_xml_csl() -> None:
"type": "article-journal",
"title": "Dummy Example File",
"author": [
- {
- "given": "Brewster",
- "family": "Kahle"
- },
+ {"given": "Brewster", "family": "Kahle"},
{
"given": "J",
"family": "Doe",
@@ -29,10 +26,7 @@ def test_small_xml_csl() -> None:
"type": "article-journal",
"title": "Everything is Wonderful",
"author": [
- {
- "given": "A",
- "family": "Seaperson"
- },
+ {"given": "A", "family": "Seaperson"},
],
"container-title": "Letters in the Alphabet",
"issued": [[2001]],