Wykres commitów

265 Commity (127cd3345444b317b4a128288373f639bb9fd046)

Autor SHA1 Wiadomość Data
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
halcy 5f09c3814e Fix an issue, remove a test 2022-11-15 11:10:13 +02:00
halcy 24c686f6b2 Improve auth support 2022-11-13 22:32:04 +02:00
halcy 5215c2242d Fix some things in streaming and admin API for 3.3.0 support 2022-11-13 18:39:56 +02:00
halcy 0e00fced99 fix tests 2022-11-13 16:16:29 +02:00
halcy c66015a6b0 Add support and tests for "notifying" follow 2022-11-13 16:02:34 +02:00
halcy b1e1ec7bdc Add support for timed mutes, fix tests to actually pass with new setup 2022-11-13 15:33:10 +02:00
halcy a17b20cfa1 fix naming for featured tags 2022-11-13 14:54:23 +02:00
halcy 750527416f Add account notes 2022-11-13 14:22:43 +02:00
halcy adcddefd59 clean up media loading, add thumbnail to media_update 2022-11-13 14:06:50 +02:00
halcy fdb6e2a140 add thumbnail customization support 2022-11-13 13:14:34 +02:00
halcy 86cf725e81 add multiupload test 2022-11-11 01:14:38 +02:00
halcy 78a1c17468 Fix tests 2022-11-11 00:21:00 +02:00
halcy d0b1da993d add media v2 API + tests, move v1 test 2022-11-08 23:24:42 +02:00
halcy 3277ca7778 Initial test fixing pass. Four tests still fail. 2022-11-07 23:11:30 +02:00
halcy d587ffdeac Add new test result cassette 2022-11-06 14:30:21 +02:00
Aljoscha Rittner bd04a0f886 Fixed overseen test failure with new app name in "secret" file 2022-06-28 13:22:06 +02:00
Aljoscha Rittner 7fd2a6a39c Supports a User-Agent header
fixes #213
2022-06-27 11:13:35 +02:00
Aljoscha Rittner af59a46068 Support of processing unknown events and event names with dots.
#Fixes 234
2022-06-24 17:39:26 +02:00
Aljoscha Rittner e98b033646 Preserves storage of pagination in items for compatibility reason
fixes #232
2022-06-24 17:23:00 +02:00
Aljoscha Rittner 7e0460ddcb
Merge branch 'halcy:master' into master 2022-06-24 16:37:37 +02:00
Aljoscha Rittner 3b8a653fa5 Introduces pagin parameters for bookmarks
Fixes #220
2022-06-24 15:46:27 +02:00
Aljoscha Rittner 19dbb4594e Changes the storage for pagination information
fixes #232
2022-06-16 14:52:15 +02:00
Lorenz Diener 847da6f7f9 Add bookmarks test 2020-02-22 20:37:54 +01:00
Lorenz Diener 4f90728a4a Fix tests for 3.1.1 2020-02-22 20:31:33 +01:00
Lorenz Diener 0b3b2c31a0 Pre-release full testsuite updated run 2019-10-12 23:03:14 +02:00
Lorenz Diener 45908b6f4e Add, test and document last-read markers. Fixes #192 2019-10-12 22:55:17 +02:00
Lorenz Diener 1f36deb119 Add, test and document profile directory API (fixes #188) 2019-10-12 22:05:35 +02:00
Lorenz Diener 63bf5afc61 Implement, test and document featured and suggested tags APIs (fixes #191) 2019-10-12 21:47:58 +02:00
Lorenz Diener 3194b1295e Re-add and test trends API 2019-10-12 21:02:39 +02:00
Lorenz Diener 2e5095f301 Add, document and test nodeinfo api (fixes #199) 2019-10-12 20:51:29 +02:00
Lorenz Diener e60a3f1892 Add and document health API. Fixes #202 2019-10-12 20:25:55 +02:00
Lorenz Diener f421b1e498 Add new parameter for search 2019-10-12 20:13:38 +02:00
Lorenz Diener b2bc879f44 Improve own_votes test 2019-10-12 19:57:14 +02:00
Lorenz Diener 661e8e0abf Document and test own_votes 2019-10-12 19:56:48 +02:00
Lorenz Diener 73c1e9e2d9 Add me()-function to return user account. Fixes #184 2019-10-12 19:05:46 +02:00
Lorenz Diener ca45cd65aa Add ability to persist base urls with clientid/secret/token (fixes #200) 2019-10-12 18:58:46 +02:00
Lorenz Diener 8a2452c6be Improve card test 2019-10-12 00:02:56 +02:00
Lorenz Diener 437f68c29a Update tests for 3.0.1 and fix regressions 2019-10-11 23:59:24 +02:00
Lorenz Diener 2c2f55fd63 Fix test to not use the mention fixture 2019-10-11 22:43:20 +02:00
Lorenz Diener cb9062e5e1 Try to fix frozen dismiss cassette 2019-10-11 22:38:07 +02:00
Lorenz Diener a8e49756f4 Add a test case for conversation streaming 2019-10-11 22:32:51 +02:00
Lorenz Diener f42032dafc Add new card behaviour, freeze old test 2019-10-11 22:07:51 +02:00
Lorenz Diener 17013f1d35 Add missing casette for dismiss test 2019-10-11 22:07:08 +02:00
Lorenz Diener 30eb63261c Implement new notification dismiss behaviour, add test for old behaviour 2019-10-11 21:51:28 +02:00
Lorenz Diener 225c8ca76a Fresh batch of test runs 2019-06-22 23:16:47 +02:00
Lorenz Diener f920f8b584 Add final round of tests for moderation API 2019-06-22 22:48:30 +02:00
Lorenz Diener add974ae29 Add first half of tests for moderation API 2019-06-22 22:32:21 +02:00
Lorenz Diener a34e21cfa7 Prepare tests for 2.9.2 compat 2019-06-22 22:09:44 +02:00
Lorenz Diener a88492bdcf Add healthy test cassette 2019-06-22 17:33:12 +02:00
Lorenz Diener 71c6bc0f52 Add, document and test stream_healthy 2019-06-22 16:41:32 +02:00