diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-17 15:58:43 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-17 16:16:25 -0800 |
commit | f64a469b8a8aa9319013d6099ad38e7cde495e18 (patch) | |
tree | 0467214b6e18c982474e385f8e96821bbfe2fe1c /python/tests/api_webcaptures.py | |
parent | b1e8f3337bcde0f58176e79edb204e8003152090 (diff) | |
download | fatcat-f64a469b8a8aa9319013d6099ad38e7cde495e18.tar.gz fatcat-f64a469b8a8aa9319013d6099ad38e7cde495e18.zip |
minimal python test coverage of content_scope fields
Diffstat (limited to 'python/tests/api_webcaptures.py')
-rw-r--r-- | python/tests/api_webcaptures.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tests/api_webcaptures.py b/python/tests/api_webcaptures.py index 76bc68c0..6a477ff2 100644 --- a/python/tests/api_webcaptures.py +++ b/python/tests/api_webcaptures.py @@ -44,6 +44,7 @@ def test_webcapture(api): FileUrl(rel="wayback", url="https://web.archive.org/web/"), ], release_ids=[r1edit.ident], + content_scope="landing-page", extra=dict(c=1, b=2), edit_extra=dict(test_key="webcaptures rule"), ) @@ -69,6 +70,7 @@ def test_webcapture(api): assert wc1.release_ids == wc2.release_ids assert wc1.timestamp == wc2.timestamp assert wc1.original_url == wc2.original_url + assert wc1.content_scope == wc2.content_scope assert wc1.extra == wc2.extra # check release expansion |