hooks: mark failing test resolved in upstream as xfail
This commit is contained in:
pare
29b73a57b8
commit
508d1d2ddd
S'han modificat 1 arxius amb 4 adicions i 0 eliminacions
|
@ -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'])
|
||||
|
|
Loading…
Referencia en una nova incidència