diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 14:23:37 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 14:23:37 -0700 |
commit | 6f778b5398d9caf9ab31c39bce792f75df9e62ec (patch) | |
tree | d80ff93574d915cac2bd70b8d579d50a09b97511 /python/tests/api_entity_state.py | |
parent | 955d4942d5111cbbd8f4b99d4e3c6d79262dab6e (diff) | |
download | fatcat-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.py | 6 |
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: |