aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 0e891bb..3106981 100644
--- a/tests/test_status.py
+++ b/tests/test_status.py
@@ -50,7 +50,7 @@ def test_toot(api):
50 50
51@pytest.mark.vcr() 51@pytest.mark.vcr()
52@pytest.mark.parametrize('visibility', ('', 'direct', 'private', 'unlisted', 'public', 52@pytest.mark.parametrize('visibility', ('', 'direct', 'private', 'unlisted', 'public',
53 pytest.param('foobar', marks=pytest.mark.xfail()))) 53 pytest.param('foobar', marks=pytest.mark.xfail(strict=True))))
54@pytest.mark.parametrize('spoiler_text', (None, 'Content warning')) 54@pytest.mark.parametrize('spoiler_text', (None, 'Content warning'))
55def test_status_post(api, visibility, spoiler_text): 55def test_status_post(api, visibility, spoiler_text):
56 status = api.status_post( 56 status = api.status_post(
Powered by cgit v1.2.3 (git 2.41.0)