diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 21:53:01 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 21:53:01 +0200 |
commit | 3eba3f8835f25800f37b9da18a09429b084effa0 (patch) | |
tree | 112470e2ce3e07775c8963d7373892cbb8576058 /tests/test_account.py | |
parent | 66524ad4df9dcff3cee3a6d6bfc198e50ce310e1 (diff) | |
download | mastodon.py-3eba3f8835f25800f37b9da18a09429b084effa0.tar.gz |
Add preferences endpoint
Diffstat (limited to 'tests/test_account.py')
-rw-r--r-- | tests/test_account.py | 5 |
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() | |
209 | def test_preferences(api): | ||
210 | prefs = api.preferences() | ||
211 | assert prefs | ||