aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-11-30 16:01:26 +0100
committerGitHub <[email protected]>2017-11-30 16:01:26 +0100
commitf52c8f5024f4383fbcc645e54d2cbda5038ebd2c (patch)
treef119db9d7ae97de2c7c93ffe043ab5e33a46df92 /tests/test_status.py
parent0f753e621a0804dfc8a08e1f5f90972be75c4ff5 (diff)
parent5ecff3544600ca8023369c5729823f73a06b54b3 (diff)
downloadmastodon.py-f52c8f5024f4383fbcc645e54d2cbda5038ebd2c.tar.gz
Merge pull request #110 from codl/fix-xfail-tests
Fix xfail tests
Diffstat (limited to 'tests/test_status.py')
-rw-r--r--tests/test_status.py2
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'))
50def test_status_post(api, visibility, spoiler_text): 50def test_status_post(api, visibility, spoiler_text):
51 status = api.status_post( 51 status = api.status_post(
Powered by cgit v1.2.3 (git 2.41.0)