Small test fix
This commit is contained in:
pare
fd21e573e3
commit
256037f272
S'han modificat 2 arxius amb 2 adicions i 2 eliminacions
|
@ -100,7 +100,7 @@ class AttribAccessDict(dict):
|
||||||
|
|
||||||
class Mastodon:
|
class Mastodon:
|
||||||
"""
|
"""
|
||||||
Super basic but thorough and easy to use Mastodon
|
Thorough and easy to use Mastodon
|
||||||
api wrapper in python.
|
api wrapper in python.
|
||||||
|
|
||||||
If anything is unclear, check the official API docs at
|
If anything is unclear, check the official API docs at
|
||||||
|
|
|
@ -15,7 +15,7 @@ def test_auth_request_url(api):
|
||||||
assert query['client_id'][0] == api.client_id
|
assert query['client_id'][0] == api.client_id
|
||||||
assert query['response_type'][0] == 'code'
|
assert query['response_type'][0] == 'code'
|
||||||
assert query['redirect_uri'][0] == 'urn:ietf:wg:oauth:2.0:oob'
|
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):
|
def test_log_in_none(api_anonymous):
|
||||||
|
|
Loading…
Referencia en una nova incidència