From 256037f272c5312dc9c0478498d6abd55fa9fd19 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Jun 2018 17:47:26 +0200 Subject: Small test fix --- mastodon/Mastodon.py | 2 +- tests/test_auth.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index b5c82f8..67401dd 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -100,7 +100,7 @@ class AttribAccessDict(dict): class Mastodon: """ - Super basic but thorough and easy to use Mastodon + Thorough and easy to use Mastodon api wrapper in python. If anything is unclear, check the official API docs at diff --git a/tests/test_auth.py b/tests/test_auth.py index 2b27d5b..a8ae52c 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -15,7 +15,7 @@ def test_auth_request_url(api): assert query['client_id'][0] == api.client_id assert query['response_type'][0] == 'code' assert query['redirect_uri'][0] == 'urn:ietf:wg:oauth:2.0:oob' - assert set(query['scope'][0].split()) == set(('read', 'write', 'follow')) + assert set(query['scope'][0].split()) == set(('read', 'write', 'follow', 'push')) def test_log_in_none(api_anonymous): -- cgit v1.2.3