summaryrefslogtreecommitdiffstats
path: root/python/tests/api_files.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-20 20:08:43 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-20 20:08:43 -0700
commitab9fe881c0531b5dd4e2a648e65d4d04b991b807 (patch)
treecf55b247d26a0e475cd553c3cef2b101ce41b622 /python/tests/api_files.py
parent3ebea73882a35ea1e892899d959efaed0264ec66 (diff)
downloadfatcat-ab9fe881c0531b5dd4e2a648e65d4d04b991b807.tar.gz
fatcat-ab9fe881c0531b5dd4e2a648e65d4d04b991b807.zip
hide abstracts and refs in release expansions
Diffstat (limited to 'python/tests/api_files.py')
-rw-r--r--python/tests/api_files.py2
1 files changed, 2 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")