aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_database.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-22 13:46:42 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-22 13:46:42 -0700
commitdb40b9e70b917dbbbfda48f6d77a2fc509366a82 (patch)
treee66626601ec32965c4cee7fad16982530408019b /tests/test_database.py
parent5d3ce061d24a5188fc015012b2f70a4c6f568969 (diff)
downloadchocula-db40b9e70b917dbbbfda48f6d77a2fc509366a82.tar.gz
chocula-db40b9e70b917dbbbfda48f6d77a2fc509366a82.zip
fmt (black)
Diffstat (limited to 'tests/test_database.py')
-rw-r--r--tests/test_database.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/test_database.py b/tests/test_database.py
index 3d41e79..dc75d23 100644
--- a/tests/test_database.py
+++ b/tests/test_database.py
@@ -1,4 +1,3 @@
-
from chocula.database import IssnDatabase
@@ -6,10 +5,9 @@ def test_issn_database():
issn_db = IssnDatabase(issn_issnl_file_path="tests/files/ISSN-to-ISSN-L.txt")
- assert issn_db.issn2issnl('1234-5678') is None
- assert issn_db.issn2issnl('0000-0000') is None
+ assert issn_db.issn2issnl("1234-5678") is None
+ assert issn_db.issn2issnl("0000-0000") is None
# "The Lancet"
- assert issn_db.issn2issnl('0140-6736') == '0140-6736'
- assert issn_db.issn2issnl('1474-547X') == '0140-6736'
-
+ assert issn_db.issn2issnl("0140-6736") == "0140-6736"
+ assert issn_db.issn2issnl("1474-547X") == "0140-6736"