aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_account.py')
-rw-r--r--tests/test_account.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_account.py b/tests/test_account.py
index 2716ad1..3befdd5 100644
--- a/tests/test_account.py
+++ b/tests/test_account.py
@@ -112,3 +112,13 @@ def test_account_update_credentials_no_avatar(api):
112 header = image, 112 header = image,
113 header_mime_type = "image/jpeg") 113 header_mime_type = "image/jpeg")
114 assert account 114 assert account
115
116@pytest.mark.vcr()
117def test_account_pinned(status, status2, api):
118 try:
119 status = api.status_pin(status['id'])
120 pinned = api.account_statuses(api.account_verify_credentials(), pinned = True)
121 assert status in pinned
122 assert not status2 in pinned
123 finally:
124 api.status_unpin(status['id']) \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)