diff options
-rw-r--r-- | tests/test_hooks.py | 4 |
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 @@ | |||
1 | import pytest | 1 | import pytest |
2 | from datetime import datetime | 2 | from datetime import datetime |
3 | 3 | ||
4 | |||
4 | @pytest.mark.vcr() | 5 | @pytest.mark.vcr() |
5 | def test_id_hook(status): | 6 | def 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() |
9 | def test_id_hook_in_reply_to(api, status): | 12 | def 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() |
18 | def test_id_hook_within_reblog(api, status): | 22 | def test_id_hook_within_reblog(api, status): |
19 | reblog = api.status_reblog(status['id']) | 23 | reblog = api.status_reblog(status['id']) |