aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 17:47:26 +0200
committerLorenz Diener <[email protected]>2018-06-05 17:47:26 +0200
commit256037f272c5312dc9c0478498d6abd55fa9fd19 (patch)
treeaf823f068c00d2ced10742336c52e40a093b589c
parentfd21e573e3aa0081eb2aa558404acb403ae2a5e6 (diff)
downloadmastodon.py-256037f272c5312dc9c0478498d6abd55fa9fd19.tar.gz
Small test fix
-rw-r--r--mastodon/Mastodon.py2
-rw-r--r--tests/test_auth.py2
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):
100 100
101class Mastodon: 101class Mastodon:
102 """ 102 """
103 Super basic but thorough and easy to use Mastodon 103 Thorough and easy to use Mastodon
104 api wrapper in python. 104 api wrapper in python.
105 105
106 If anything is unclear, check the official API docs at 106 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):
15 assert query['client_id'][0] == api.client_id 15 assert query['client_id'][0] == api.client_id
16 assert query['response_type'][0] == 'code' 16 assert query['response_type'][0] == 'code'
17 assert query['redirect_uri'][0] == 'urn:ietf:wg:oauth:2.0:oob' 17 assert query['redirect_uri'][0] == 'urn:ietf:wg:oauth:2.0:oob'
18 assert set(query['scope'][0].split()) == set(('read', 'write', 'follow')) 18 assert set(query['scope'][0].split()) == set(('read', 'write', 'follow', 'push'))
19 19
20 20
21def test_log_in_none(api_anonymous): 21def test_log_in_none(api_anonymous):
Powered by cgit v1.2.3 (git 2.41.0)