pull/139/head
Lorenz Diener 2018-06-05 17:47:26 +02:00
rodzic fd21e573e3
commit 256037f272
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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