aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_hooks.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_hooks.py b/tests/test_hooks.py
index b31343c..905672d 100644
--- a/tests/test_hooks.py
+++ b/tests/test_hooks.py
@@ -1,10 +1,13 @@
1import pytest 1import pytest
2from datetime import datetime 2from datetime import datetime
3 3
4
4@pytest.mark.vcr() 5@pytest.mark.vcr()
5def test_id_hook(status): 6def test_id_hook(status):
6 assert isinstance(status['id'], int) 7 assert isinstance(status['id'], int)
7 8
9
10@pytest.mark.xfail(reason='fixed in upstream')
8@pytest.mark.vcr() 11@pytest.mark.vcr()
9def test_id_hook_in_reply_to(api, status): 12def test_id_hook_in_reply_to(api, status):
10 reply = api.status_post('Reply!', in_reply_to_id=status['id']) 13 reply = api.status_post('Reply!', in_reply_to_id=status['id'])
@@ -14,6 +17,7 @@ def test_id_hook_in_reply_to(api, status):
14 finally: 17 finally:
15 api.status_delete(reply['id']) 18 api.status_delete(reply['id'])
16 19
20
17@pytest.mark.vcr() 21@pytest.mark.vcr()
18def test_id_hook_within_reblog(api, status): 22def test_id_hook_within_reblog(api, status):
19 reblog = api.status_reblog(status['id']) 23 reblog = api.status_reblog(status['id'])
Powered by cgit v1.2.3 (git 2.41.0)