aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms/elasticsearch.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/transforms/elasticsearch.py')
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index 0c2c5e46..1d221ebc 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -14,6 +14,7 @@ def check_kbart(year, archive):
def test_check_kbart():
+ assert check_kbart(1990, dict()) == None
assert check_kbart(1990, dict(year_spans=[[2000, 2000]])) == False
assert check_kbart(2000, dict(year_spans=[[2000, 2000]])) == True
assert check_kbart(1950, dict(year_spans=[[1900, 1920], [1990, 2000]])) == False