commit
f52c8f5024
S'han modificat 2 arxius amb 1 adicions i 2 eliminacions
|
@ -7,7 +7,6 @@ def test_id_hook(status):
|
||||||
assert isinstance(status['id'], int)
|
assert isinstance(status['id'], int)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.xfail(reason='fixed in upstream')
|
|
||||||
@pytest.mark.vcr()
|
@pytest.mark.vcr()
|
||||||
def test_id_hook_in_reply_to(api, status):
|
def test_id_hook_in_reply_to(api, status):
|
||||||
reply = api.status_post('Reply!', in_reply_to_id=status['id'])
|
reply = api.status_post('Reply!', in_reply_to_id=status['id'])
|
||||||
|
|
|
@ -45,7 +45,7 @@ def test_toot(api):
|
||||||
|
|
||||||
@pytest.mark.vcr()
|
@pytest.mark.vcr()
|
||||||
@pytest.mark.parametrize('visibility', ('', 'direct', 'private', 'unlisted', 'public',
|
@pytest.mark.parametrize('visibility', ('', 'direct', 'private', 'unlisted', 'public',
|
||||||
pytest.param('foobar', marks=pytest.mark.xfail())))
|
pytest.param('foobar', marks=pytest.mark.xfail(strict=True))))
|
||||||
@pytest.mark.parametrize('spoiler_text', (None, 'Content warning'))
|
@pytest.mark.parametrize('spoiler_text', (None, 'Content warning'))
|
||||||
def test_status_post(api, visibility, spoiler_text):
|
def test_status_post(api, visibility, spoiler_text):
|
||||||
status = api.status_post(
|
status = api.status_post(
|
||||||
|
|
Loading…
Referencia en una nova incidència