diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 21:24:31 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 21:24:31 +0200 |
commit | eb0fa327c4b3b520e243d7b888724512a905347a (patch) | |
tree | 871b9777162c2272ca6808ad9ba9794df09c342c /tests/test_status.py | |
parent | c82b0b19196d5d390419d71e2b45f11ec1c74a05 (diff) | |
download | mastodon.py-eb0fa327c4b3b520e243d7b888724512a905347a.tar.gz |
Add reblog visibility
Diffstat (limited to 'tests/test_status.py')
-rw-r--r-- | tests/test_status.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_status.py b/tests/test_status.py index 88c59ce..4f6295f 100644 --- a/tests/test_status.py +++ b/tests/test_status.py | |||
@@ -50,6 +50,11 @@ def test_status_reblogged_by(status, api): | |||
50 | assert reblogs | 50 | assert reblogs |
51 | 51 | ||
52 | @pytest.mark.vcr() | 52 | @pytest.mark.vcr() |
53 | def test_status_reblog_visibility(status, api): | ||
54 | reblog_result = api.status_reblog(status['id'], visibility = 'unlisted') | ||
55 | assert reblog_result.visibility == 'unlisted' | ||
56 | |||
57 | @pytest.mark.vcr() | ||
53 | def test_status_favourited_by(status, api): | 58 | def test_status_favourited_by(status, api): |
54 | api.status_favourite(status['id']) | 59 | api.status_favourite(status['id']) |
55 | favourites = api.status_favourited_by(status['id']) | 60 | favourites = api.status_favourited_by(status['id']) |