Commit graph

10 commits

Author SHA1 Message Date
ae882d4958
Fix tests 2023-03-09 11:00:46 +01:00
2d8791e629
Remove coding directives, no longer needed 2022-12-31 09:31:32 +01:00
b15cb85a23
Standardize http request method parameters
This allows setting either json or data. Until now we were always using
data and this is not enough for some endpoints.
2022-11-24 11:20:59 +01:00
9f23ba4d55
Simplify mocking in tests 2018-06-07 10:05:14 +02:00
062bd864eb
Fix tests 2017-12-30 18:04:38 +01:00
92d4dc745a
Use http methods instead of requests directly 2017-12-30 16:30:35 +01:00
3f44d560c8
Store access tokens for multiple instances
This makes it so an app is created only once for each instance, instead
of being re-created on each login. Prevents accumulations of authroized
apps in https://mastodon.social/oauth/authorized_applications
2017-04-18 16:16:24 +02:00
d53849fe4b
Extract api functions to api.py 2017-04-16 14:14:33 +02:00
d21e45899c
Add coding directive 2017-04-15 14:53:08 +02:00
7e31c57a63
Start testing 2017-04-15 14:46:22 +02:00