diff options
Diffstat (limited to 'python/tests')
-rw-r--r-- | python/tests/api_files.py | 2 | ||||
-rw-r--r-- | python/tests/api_filesets.py | 2 | ||||
-rw-r--r-- | python/tests/api_webcaptures.py | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/python/tests/api_files.py b/python/tests/api_files.py index 32d4a6ee..dd10058b 100644 --- a/python/tests/api_files.py +++ b/python/tests/api_files.py @@ -66,6 +66,8 @@ def test_file_examples(api): f1 = api.get_file('aaaaaaaaaaaaamztaaaaaaaaam', expand="releases") assert f1.sha256 == "ffc1005680cb620eec4c913437dfabbf311b535cfe16cbaeb2faec1f92afc362" assert f1.releases[0].ident + assert f1.releases[0].abstracts is None + assert f1.releases[0].refs is None # expansion (back from release) r1 = api.get_release(f1.releases[0].ident, expand="files") diff --git a/python/tests/api_filesets.py b/python/tests/api_filesets.py index 94aa575d..48f58cc8 100644 --- a/python/tests/api_filesets.py +++ b/python/tests/api_filesets.py @@ -82,6 +82,8 @@ def test_fileset_examples(api): assert fs3.manifest[1].md5 == 'f4de91152c7ab9fdc2a128f962faebff' assert fs3.manifest[1].extra['mimetype'] == 'application/gzip' assert fs3.releases[0].ident + assert fs3.releases[0].abstracts is None + assert fs3.releases[0].refs is None def test_bad_fileset(api): diff --git a/python/tests/api_webcaptures.py b/python/tests/api_webcaptures.py index 78549b0f..7734398b 100644 --- a/python/tests/api_webcaptures.py +++ b/python/tests/api_webcaptures.py @@ -101,6 +101,8 @@ def test_webcapture_examples(api): assert wc3.cdx[1].sha1 == 'a637f1d27d9bcb237310ed29f19c07e1c8cf0aa5' assert wc3.archive_urls[1].rel == 'warc' assert wc3.releases[0].ident + assert wc3.releases[0].abstracts is None + assert wc3.releases[0].refs is None def test_bad_webcapture(api): |