summaryrefslogtreecommitdiffstats
path: root/python/tests/fixtures.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/fixtures.py')
-rw-r--r--python/tests/fixtures.py11
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