summaryrefslogtreecommitdiffstats
path: root/python/tests/tools_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/tools_api.py')
-rw-r--r--python/tests/tools_api.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/tests/tools_api.py b/python/tests/tools_api.py
index ac75a73a..933135a3 100644
--- a/python/tests/tools_api.py
+++ b/python/tests/tools_api.py
@@ -9,8 +9,7 @@ from fatcat_tools import public_api, authenticated_api
def test_authenticated_api():
api = authenticated_api("http://localhost:9411/v0")
api.get_changelog()
- api.create_editgroup_annotation("aaaaaaaaaaaabo53aaaaaaaaa4",
- EditgroupAnnotation(comment_markdown="bloop test thingie"))
+ api.auth_check()
def test_public_api():
api = public_api("http://localhost:9411/v0")
@@ -19,5 +18,4 @@ def test_public_api():
# authenticated. Maybe the DefaultAPI thing?
pytest.skip("public_api() client not isolated from authenticated")
with pytest.raises(ApiException):
- api.create_editgroup_annotation("aaaaaaaaaaaabo53aaaaaaaaa4",
- EditgroupAnnotation(comment_markdown="bloop unauth test thingie"))
+ api.auth_check()