diff options
author | codl <[email protected]> | 2017-11-29 18:34:18 +0100 |
---|---|---|
committer | codl <[email protected]> | 2017-11-29 18:34:18 +0100 |
commit | 5ecff3544600ca8023369c5729823f73a06b54b3 (patch) | |
tree | f119db9d7ae97de2c7c93ffe043ab5e33a46df92 | |
parent | 51b221e87fd8b55773af6dc50b55fc2d60b13f62 (diff) | |
download | mastodon.py-5ecff3544600ca8023369c5729823f73a06b54b3.tar.gz |
mark the 2 tests that are xfail as strictly xfail
-rw-r--r-- | tests/test_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
45 | 45 | ||
46 | @pytest.mark.vcr() | 46 | @pytest.mark.vcr() |
47 | @pytest.mark.parametrize('visibility', ('', 'direct', 'private', 'unlisted', 'public', | 47 | @pytest.mark.parametrize('visibility', ('', 'direct', 'private', 'unlisted', 'public', |
48 | pytest.param('foobar', marks=pytest.mark.xfail()))) | 48 | pytest.param('foobar', marks=pytest.mark.xfail(strict=True)))) |
49 | @pytest.mark.parametrize('spoiler_text', (None, 'Content warning')) | 49 | @pytest.mark.parametrize('spoiler_text', (None, 'Content warning')) |
50 | def test_status_post(api, visibility, spoiler_text): | 50 | def test_status_post(api, visibility, spoiler_text): |
51 | status = api.status_post( | 51 | status = api.status_post( |