diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-20 19:56:09 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-20 19:56:09 -0700 |
commit | 7815c6739e4ae730c7fe4589e8aa15b2b0f1033d (patch) | |
tree | 6ed0738b680e5fd22aa84e3c6d14413515bc57d2 /python/tests/api_filesets.py | |
parent | d56a544ec64df7ce6257982bd7a02b45b2cd1af5 (diff) | |
download | fatcat-7815c6739e4ae730c7fe4589e8aa15b2b0f1033d.tar.gz fatcat-7815c6739e4ae730c7fe4589e8aa15b2b0f1033d.zip |
add release expand api tests
Diffstat (limited to 'python/tests/api_filesets.py')
-rw-r--r-- | python/tests/api_filesets.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tests/api_filesets.py b/python/tests/api_filesets.py index 735eb72c..94aa575d 100644 --- a/python/tests/api_filesets.py +++ b/python/tests/api_filesets.py @@ -74,11 +74,14 @@ def test_fileset(api): def test_fileset_examples(api): fs3 = api.get_fileset('aaaaaaaaaaaaaztgaaaaaaaaam') + assert fs3.releases is None + fs3 = api.get_fileset('aaaaaaaaaaaaaztgaaaaaaaaam', expand="releases") assert fs3.urls[0].url == 'http://other-personal-blog.name/dataset/' assert fs3.urls[1].rel == 'archive' assert fs3.manifest[1].md5 == 'f4de91152c7ab9fdc2a128f962faebff' assert fs3.manifest[1].extra['mimetype'] == 'application/gzip' + assert fs3.releases[0].ident def test_bad_fileset(api): |