Small test fix

This commit is contained in:
Lorenz Diener 2018-06-05 17:47:26 +02:00
parent fd21e573e3
commit 256037f272
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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):