Merge pull request #110 from codl/fix-xfail-tests

Fix xfail tests
This commit is contained in:
Lorenz Diener 2017-11-30 16:01:26 +01:00 cometido por GitHub
commit f52c8f5024
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 4AEE18F83AFDEB23
S'han modificat 2 arxius amb 1 adicions i 2 eliminacions

Veure arxiu

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

Veure arxiu

@ -45,7 +45,7 @@ def test_toot(api):
@pytest.mark.vcr()
@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'))
def test_status_post(api, visibility, spoiler_text):
status = api.status_post(