aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_account.py')
-rw-r--r--tests/test_account.py27
1 files changed, 5 insertions, 22 deletions
diff --git a/tests/test_account.py b/tests/test_account.py
index 6584dbc..ef48d4e 100644
--- a/tests/test_account.py
+++ b/tests/test_account.py
@@ -233,26 +233,9 @@ def test_suggested_tags(api):
233@pytest.mark.vcr() 233@pytest.mark.vcr()
234def test_featured_tags(api): 234def test_featured_tags(api):
235 featured_tag = api.featured_tag_create("ringtones") 235 featured_tag = api.featured_tag_create("ringtones")
236 """try:
237 status = api.status_post("cool free #ringtones")
238 time.sleep(2)
239 236
240 featured_tag = api.featured_tag_create("ringtones") 237@pytest.mark.vcr()
241 assert featured_tag 238def test_account_notes(api, api2):
242 239 relationship = api.account_note_set(api2.account_verify_credentials(), "top ebayer gerne wieder")
243 tag_list = api.featured_tags() 240 assert relationship
244 assert featured_tag.name in list(map(lambda x: x.name, tag_list)) 241 assert relationship.note == "top ebayer gerne wieder"
245
246 api.featured_tag_delete(featured_tag)
247 tag_list = api.featured_tags()
248 assert not featured_tag.name in list(map(lambda x: x.name, tag_list))
249 finally:
250 api.status_delete(status)"""
251
252
253
254
255
256
257
258
Powered by cgit v1.2.3 (git 2.41.0)