diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-14 13:42:57 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-14 13:43:07 -0700 |
commit | c01a4ba190cc18a8186545ebb55c35864676b538 (patch) | |
tree | 6ec59ce457bcaa50932f04c44fd781a53ae33c52 /python/tests/api_entity_state.py | |
parent | 3ee54189b665d37933b6108fb85b28bb823dac4a (diff) | |
download | fatcat-c01a4ba190cc18a8186545ebb55c35864676b538.tar.gz fatcat-c01a4ba190cc18a8186545ebb55c35864676b538.zip |
python impl
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 f6350039..7fb9fac1 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", ext_ids=ReleaseEntityExtIds()) + r1 = ReleaseEntity(title="test one", ext_ids=ReleaseExtIds()) 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, ext_ids=ReleaseEntityExtIds()) + r2 = ReleaseEntity(title="blah", redirect=c1.ident, ext_ids=ReleaseExtIds()) 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(ext_ids=ReleaseEntityExtIds()) + c1 = ReleaseEntity(ext_ids=ReleaseExtIds()) api.create_release(c1, editgroup_id=eg.editgroup_id) assert False except fatcat_client.rest.ApiException as e: |