From 5ecff3544600ca8023369c5729823f73a06b54b3 Mon Sep 17 00:00:00 2001 From: codl Date: Wed, 29 Nov 2017 18:34:18 +0100 Subject: mark the 2 tests that are xfail as strictly xfail --- tests/test_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_status.py b/tests/test_status.py index a5b8b3a..a3945fb 100644 --- a/tests/test_status.py +++ b/tests/test_status.py @@ -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( -- cgit v1.2.3