diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-21 13:07:28 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-21 13:07:28 -0800 |
commit | 42265350c9f0b7a5731103c191a807a691f8f2ef (patch) | |
tree | dd95a55b7ccba9abfbbda4b7b027aa1b2afaeb59 /python/tests/fixtures.py | |
parent | 5e5143caf69c099b0c879ef8546c877280f0e8ee (diff) | |
download | fatcat-42265350c9f0b7a5731103c191a807a691f8f2ef.tar.gz fatcat-42265350c9f0b7a5731103c191a807a691f8f2ef.zip |
more state/edit edge case tests
Diffstat (limited to 'python/tests/fixtures.py')
-rw-r--r-- | python/tests/fixtures.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/python/tests/fixtures.py b/python/tests/fixtures.py index 509c2093..567e9132 100644 --- a/python/tests/fixtures.py +++ b/python/tests/fixtures.py @@ -25,10 +25,19 @@ def api(): api_client = fatcat_client.DefaultApi(fatcat_client.ApiClient(conf)) return api_client +def test_get_changelog_entry(api): + """Check that fixture is working""" + cl = api.get_changelog_entry(1) + assert cl ## Helpers ################################################################## -# TODO: what are these even here for? +def quick_eg(api_inst): + eg = api_inst.create_editgroup( + fatcat_client.Editgroup(editor_id='aaaaaaaaaaaabkvkaaaaaaaaae')) + return eg + +# TODO: what are these even here for? def check_entity_fields(e): for key in ('rev', 'is_live', 'redirect_id'): assert key in e |