mark the 2 tests that are xfail as strictly xfail

This commit is contained in:
codl 2017-11-29 18:34:18 +01:00
parent 51b221e87f
commit 5ecff35446
No known key found for this signature in database
GPG key ID: 6CD7C8891ED1233A

View file

@ -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(