215 Commits

Author SHA1 Message Date
codl
b08a15e9d9 move webpush and blurhash deps out of test deps
updated ci, tox, test docs accordingly
updated tests to skip when deps are not present
2023-04-25 14:18:36 +02:00
halcy
1c444ed035 Refresh tests 2023-04-23 21:22:33 +03:00
halcy
4e230884e5 Fix reconversion to str after path resolve 2023-04-23 20:50:23 +03:00
Lorenz Diener
f862772ea6
Merge pull request #305 from jkawamoto/user_agent
Supports User-Agent header in create_app method
2023-04-23 18:36:06 +03:00
Junpei Kawamoto
5542d58c36 Improve test coverage 2023-01-02 14:58:52 -06:00
Junpei Kawamoto
fa1c6c97d2 Supports User-Agent header in create_app method
Following #240, it's helpful if `create_app` also supports the User-Agent header.

This commit fixes https://github.com/halcy/Mastodon.py/issues/213#issuecomment-1276999193.
2022-12-30 22:31:38 -06:00
Miroslav Šedivý
6404765921 refactor: replace lambdas with python 2022-12-03 22:04:26 +01:00
Miroslav Šedivý
325cc917d5 refactor: use f-strings 2022-12-02 22:04:23 +01:00
halcy
0159bd7cae commit new set of tests 2022-12-01 22:07:42 +02:00
halcy
a4b2b180d3 More moving functions out 2022-12-01 00:11:17 +02:00
Miroslav Šedivý
5262d58a0b replace pytz with datetime.timezone and zoneinfo 2022-11-30 20:21:04 +01:00
halcy
2453438353 reapply accidentally reverted changes 2022-11-30 19:28:42 +02:00
halcy
fa91b618c3 revert what I did to version parsing. Why did this break? 2022-11-30 19:16:33 +02:00
halcy
c1b7a7e4e5 Fix cross page links in docs 2022-11-30 19:04:26 +02:00
halcy
43c7d7ceb8 Restructure the docs, a lot 2022-11-29 00:50:02 +02:00
halcy
dbceccb210 Add v2 admin accounts API 2022-11-28 00:55:41 +02:00
halcy
ae9f764087 Add remove_from_followers 2022-11-27 23:55:26 +02:00
halcy
b35e3f3da8 Add account_familiar_followers 2022-11-27 23:38:42 +02:00
halcy
cf1ec39fce Switch admin stats test to path match 2022-11-27 03:02:22 +02:00
halcy
f862650b73 Fix test by using fixed dates 2022-11-27 02:53:42 +02:00
halcy
5cf0fa27a9 add admin stats APIs 2022-11-27 02:43:22 +02:00
halcy
7331f7774a Add admin domain block tests, change some things about the admin domain blocks 2022-11-26 01:00:44 +02:00
halcy
4be050d3d7 add lang parameter 2022-11-25 01:48:49 +02:00
halcy
89678e0565 Fix tests 2022-11-25 00:09:54 +02:00
halcy
2825fa9963 Add admin trends test 2022-11-25 00:01:07 +02:00
halcy
00a96c5e95 Add trending APIs 2022-11-24 22:56:49 +02:00
halcy
f81978a39c Add notification tests 2022-11-24 01:53:34 +02:00
halcy
3caa27a113 Robustify version parsing 2022-11-24 01:37:47 +02:00
halcy
b7266db01b Add new notification types, test for pathlib support 2022-11-24 00:59:48 +02:00
halcy
8865d1123e Fix some tests, fix a pleroma specific date parsing issue 2022-11-22 01:30:43 +02:00
halcy
f3d25fa19d add status editing 2022-11-22 00:10:02 +02:00
halcy
6abaff55e7 Refresh tests 2022-11-21 22:34:12 +02:00
halcy
1d5b308016 Add more streaming events, some tests 2022-11-21 22:17:20 +02:00
Miroslav Šedivý
f04d57acbc refactor: use is for True/False 2022-11-20 20:22:48 +01:00
Miroslav Šedivý
762861f344 refactor: use is for None 2022-11-20 20:14:25 +01:00
halcy
98760f650b commit new tests, bump versions 2022-11-19 02:52:17 +02:00
halcy
853cd82ecb add ability to get detailed signup error from create_account 2022-11-19 02:34:01 +02:00
halcy
f26bf0db1d Add policy param for push_subscription_set 2022-11-19 01:59:17 +02:00
halcy
d992b9bb8c Add account lookup API 2022-11-19 01:29:14 +02:00
halcy
f2282790cc Add email resend api 2022-11-19 01:11:02 +02:00
halcy
6a630202db add server rules API 2022-11-19 00:53:25 +02:00
halcy
31a00f07c1 some more tests 2022-11-19 00:15:54 +02:00
halcy
801cc36720 Improve server time test 2022-11-18 00:29:26 +02:00
halcy
c122f1531f Maybe fix test TZ issues 2022-11-18 00:19:17 +02:00
halcy
d19b7185d8 try to fix tests, again 2022-11-18 00:06:24 +02:00
halcy
c35104748d maybe fix tests 2022-11-17 23:51:40 +02:00
halcy
897b3a23cf add server datetime retriever, fix tests some more 2022-11-17 23:25:41 +02:00
halcy
725f79466d Fix tests 2022-11-17 22:00:37 +02:00
halcy
ec0194c643 Add additional date based tests 2022-11-17 20:50:23 +02:00
halcy
3ed1cf7399 add another test for scheduled statuses 2022-11-17 20:34:10 +02:00