aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-04-04 18:10:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-04-04 18:10:57 -0700
commit5d7bce1ebef2885f3d21b87cadcd18c90ea7d21a (patch)
treeb827bf5e1b98a1b2e2db3d40da14e446421e42ee /python/tests
parent5f5dd6f0582197c1773326b55ee22c7bd7f9bb98 (diff)
downloadfatcat-5d7bce1ebef2885f3d21b87cadcd18c90ea7d21a.tar.gz
fatcat-5d7bce1ebef2885f3d21b87cadcd18c90ea7d21a.zip
filesets: typo bugfix, and test 'mimetype' on entity, not extra
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/import_ingest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/import_ingest.py b/python/tests/import_ingest.py
index 8f8a34c7..77d237c8 100644
--- a/python/tests/import_ingest.py
+++ b/python/tests/import_ingest.py
@@ -200,7 +200,7 @@ def test_ingest_fileset_dict_parse(ingest_fileset_importer):
assert len(fs.manifest) == 3
assert fs.manifest[0].sha1 == "c0669e84e7b9052cc0f342e8ce7d31d59956326a"
assert fs.manifest[0].md5 == "caf4d9fc2c6ebd0d9251ac84e0b6b006"
- assert fs.manifest[0].extra["mimetype"] == "application/x-hdf"
+ assert fs.manifest[0].mimetype == "application/x-hdf"
assert fs.manifest[0].size == 16799750
assert fs.manifest[0].path == "N2 on food R_2010_03_25__10_53_27___4___1_features.hdf5"
assert (