aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/api_entity_state.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-13 14:23:37 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-13 14:23:37 -0700
commit6f778b5398d9caf9ab31c39bce792f75df9e62ec (patch)
treed80ff93574d915cac2bd70b8d579d50a09b97511 /python/tests/api_entity_state.py
parent955d4942d5111cbbd8f4b99d4e3c6d79262dab6e (diff)
downloadfatcat-6f778b5398d9caf9ab31c39bce792f75df9e62ec.tar.gz
fatcat-6f778b5398d9caf9ab31c39bce792f75df9e62ec.zip
python tests passing (release_stage, ext_ids)
Diffstat (limited to 'python/tests/api_entity_state.py')
-rw-r--r--python/tests/api_entity_state.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tests/api_entity_state.py b/python/tests/api_entity_state.py
index 83b07a2e..f6350039 100644
--- a/python/tests/api_entity_state.py
+++ b/python/tests/api_entity_state.py
@@ -406,11 +406,11 @@ def test_create_redirect(api):
assert "redirect" in e.body
# again with releases
- r1 = ReleaseEntity(title="test one")
+ r1 = ReleaseEntity(title="test one", ext_ids=ReleaseEntityExtIds())
eg = quick_eg(api)
r1 = api.get_release(api.create_release(r1, editgroup_id=eg.editgroup_id).ident)
api.accept_editgroup(eg.editgroup_id)
- r2 = ReleaseEntity(title="blah", redirect=c1.ident)
+ r2 = ReleaseEntity(title="blah", redirect=c1.ident, ext_ids=ReleaseEntityExtIds())
eg = quick_eg(api)
try:
api.create_release(r2, editgroup_id=eg.editgroup_id)
@@ -443,7 +443,7 @@ def test_required_entity_fields(api):
# Release
try:
- c1 = ReleaseEntity()
+ c1 = ReleaseEntity(ext_ids=ReleaseEntityExtIds())
api.create_release(c1, editgroup_id=eg.editgroup_id)
assert False
except fatcat_client.rest.ApiException as e: