aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_hooks.py1
-rw-r--r--tests/test_status.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_hooks.py b/tests/test_hooks.py
index 905672d..c819d6e 100644
--- a/tests/test_hooks.py
+++ b/tests/test_hooks.py
@@ -7,7 +7,6 @@ def test_id_hook(status):
7 assert isinstance(status['id'], int) 7 assert isinstance(status['id'], int)
8 8
9 9
10@pytest.mark.xfail(reason='fixed in upstream')
11@pytest.mark.vcr() 10@pytest.mark.vcr()
12def test_id_hook_in_reply_to(api, status): 11def test_id_hook_in_reply_to(api, status):
13 reply = api.status_post('Reply!', in_reply_to_id=status['id']) 12 reply = api.status_post('Reply!', in_reply_to_id=status['id'])
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)