aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_status.py')
-rw-r--r--tests/test_status.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_status.py b/tests/test_status.py
index b177517..2e129ac 100644
--- a/tests/test_status.py
+++ b/tests/test_status.py
@@ -1,6 +1,5 @@
1import pytest 1import pytest
2from mastodon.Mastodon import MastodonAPIError 2from mastodon.Mastodon import MastodonAPIError, MastodonNotFoundError
3from time import sleep
4 3
5@pytest.mark.vcr() 4@pytest.mark.vcr()
6def test_status(status, api): 5def test_status(status, api):
@@ -14,7 +13,7 @@ def test_status_empty(api):
14 13
15@pytest.mark.vcr() 14@pytest.mark.vcr()
16def test_status_missing(api): 15def test_status_missing(api):
17 with pytest.raises(MastodonAPIError): 16 with pytest.raises(MastodonNotFoundError):
18 api.status(0) 17 api.status(0)
19 18
20@pytest.mark.skip(reason="Doesn't look like mastodon will make a card for an url that doesn't have a TLD, and relying on some external website being reachable to make a card of is messy :/") 19@pytest.mark.skip(reason="Doesn't look like mastodon will make a card for an url that doesn't have a TLD, and relying on some external website being reachable to make a card of is messy :/")
Powered by cgit v1.2.3 (git 2.41.0)