hooks: mark failing test resolved in upstream as xfail

This commit is contained in:
codl 2017-11-27 20:42:54 +01:00
pare 29b73a57b8
commit 508d1d2ddd
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 6CD7C8891ED1233A

Veure arxiu

@ -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'])