From 508d1d2ddd157e02574db1138acda9f3f997f023 Mon Sep 17 00:00:00 2001 From: codl Date: Mon, 27 Nov 2017 20:42:54 +0100 Subject: hooks: mark failing test resolved in upstream as xfail --- tests/test_hooks.py | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ import pytest from datetime import datetime + @pytest.mark.vcr() def test_id_hook(status): assert isinstance(status['id'], int) + +@pytest.mark.xfail(reason='fixed in upstream') @pytest.mark.vcr() def test_id_hook_in_reply_to(api, status): reply = api.status_post('Reply!', in_reply_to_id=status['id']) @@ -14,6 +17,7 @@ def test_id_hook_in_reply_to(api, status): finally: api.status_delete(reply['id']) + @pytest.mark.vcr() def test_id_hook_within_reblog(api, status): reblog = api.status_reblog(status['id']) -- cgit v1.2.3