aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-04-28 21:53:01 +0200
committerLorenz Diener <[email protected]>2019-04-28 21:53:01 +0200
commit3eba3f8835f25800f37b9da18a09429b084effa0 (patch)
tree112470e2ce3e07775c8963d7373892cbb8576058 /tests/test_account.py
parent66524ad4df9dcff3cee3a6d6bfc198e50ce310e1 (diff)
downloadmastodon.py-3eba3f8835f25800f37b9da18a09429b084effa0.tar.gz
Add preferences endpoint
Diffstat (limited to 'tests/test_account.py')
-rw-r--r--tests/test_account.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_account.py b/tests/test_account.py
index cd7633d..9821c13 100644
--- a/tests/test_account.py
+++ b/tests/test_account.py
@@ -205,4 +205,7 @@ def test_account_pin_unpin(api, api2):
205 assert not relationship['endorsed'] 205 assert not relationship['endorsed']
206 assert not user["id"] in map(lambda x: x["id"], endorsed2) 206 assert not user["id"] in map(lambda x: x["id"], endorsed2)
207 207
208 208@pytest.mark.vcr()
209def test_preferences(api):
210 prefs = api.preferences()
211 assert prefs
Powered by cgit v1.2.3 (git 2.41.0)