Gráfico de commits

141 commits

Autor SHA1 Mensaje Fecha
Lorenz Diener
a264154073
Merge pull request #164 from codl/link-flakeid
more robust handling of pagination Link headers
2019-04-27 17:20:20 +02:00
codl
a815c10f9b
add test for link headers. this adds requests-mock as a dependency 2019-04-15 15:52:30 +02:00
codl
e594bad9bb
remove extraneous import 2019-04-15 14:31:41 +02:00
codl
3f83ee0a4c
failing test for #160 2019-03-11 14:50:23 +01:00
Lorenz Diener
1956b18845 Explicitly module-scope vcr_config 2018-11-26 11:15:59 +01:00
Lorenz Diener
d0c71b1a84 Fresh set of tests pre-release 2018-07-30 23:19:51 +02:00
Lorenz Diener
8b06b53ed5 Improve filter tests 2018-07-30 23:10:24 +02:00
Lorenz Diener
2d81e9b2cb Add filter tests 2018-07-30 23:08:30 +02:00
Lorenz Diener
ba3c2a8605 Add follow suggestions test 2018-07-30 21:14:40 +02:00
Lorenz Diener
5148658d9a Add test for status_reply 2018-07-30 21:00:20 +02:00
Lorenz Diener
087fb249da Fix tests 2018-07-30 20:25:25 +02:00
Lorenz Diener
65b1f41e65 Rerun all tests 2018-07-14 01:07:26 +02:00
Lorenz Diener
91de8ca061 Make the streaming tests somewhat more stable 2018-07-14 01:04:06 +02:00
Lorenz Diener
21464aa3c6 Add regression test for account_search 2018-07-14 01:03:42 +02:00
Lorenz Diener
01e52ccd8f Add push tests 2018-06-05 22:52:18 +02:00
Lorenz Diener
18c6b3b90f New casettes, small fixes 2018-06-05 22:10:31 +02:00
Lorenz Diener
256037f272 Small test fix 2018-06-05 17:47:26 +02:00
Lorenz Diener
65f4884ff9 Add test for push decrypt 2018-06-05 14:18:16 +02:00
Lorenz Diener
575d05fe0c Improve media test 2018-06-05 11:39:31 +02:00
Lorenz Diener
85ca599935 Add fields support, tests 2018-06-05 01:54:12 +02:00
Lorenz Diener
465981ea9a Document and test focus 2018-06-04 21:20:43 +02:00
Lorenz Diener
362767f911 Pinning tests 2018-06-04 20:55:44 +02:00
Lorenz Diener
6299e7de4f Add new test casettes 2018-06-04 19:45:03 +02:00
Lorenz Diener
163fd5d3d5 Move pagination info to attributes 2018-06-04 16:48:20 +02:00
Théo Le Calvar
1090d7476f Fix optional args in account_update_credentials
avatar and header are now correctly ignored if not specified.
2018-05-20 12:55:25 +02:00
Lorenz Diener
5c95ca291e Add a note about streaming tests 2018-05-07 00:55:13 +02:00
Lorenz Diener
8d5fe70c7e Fix some bugs, update tests 2018-05-07 00:53:13 +02:00
Lorenz Diener
fbd4122fec Add emoji test 2018-05-06 15:52:55 +02:00
Lorenz Diener
ba2fccc1cf Add lists tests and fix a bug 2018-05-06 15:42:38 +02:00
Lorenz Diener
bb92f76e61 Refresh casettes and add some new ones 2018-05-06 03:02:19 +02:00
Lorenz Diener
3676e43f11 Add reports test 2018-05-06 02:58:43 +02:00
Lorenz Diener
4b00c448f4 Add another bunch of tests 2018-05-06 02:50:54 +02:00
Lorenz Diener
f8e209f6ff Add more tests 2018-05-06 02:26:19 +02:00
Lorenz Diener
9e368f3814 Add more streaming tests 2018-05-06 02:05:08 +02:00
Lorenz Diener
3864bbe085 More streaming tests 2018-05-06 02:00:18 +02:00
Lorenz Diener
de29029037 Add casette for test_stream_user 2018-05-06 01:41:50 +02:00
Lorenz Diener
a15d28d9d6 Testing updates, can now test streaming API 2018-05-06 01:37:13 +02:00
Lorenz Diener
b9ffcd58c5 Attempt 3 at fixing the tests 2018-04-18 22:11:32 +02:00
Lorenz Diener
bc7b9defe8 Attempt 2 at fixing the tests for travis 2018-04-18 22:07:03 +02:00
Lorenz Diener
64ec9e2098 Update the tests 2018-04-18 22:00:35 +02:00
codl
56e6bac9cb
update tests 2018-01-03 11:44:14 +01:00
Lorenz Diener
18543648a6 Adjust streaming tests 2017-12-21 11:06:13 +01:00
Lorenz Diener
f63b20d929 Push version in tests to 2.1.0 2017-12-14 11:23:34 +01:00
Lorenz Diener
8a8c62a8e7 Fix tests 2017-12-11 14:52:03 +01:00
Lorenz Diener
7e3a4a17a2
Merge pull request #113 from codl/more-tests
More tests!
2017-11-30 16:02:52 +01:00
Lorenz Diener
c6f1196ddc
Merge pull request #112 from codl/fix-111
fix #111
2017-11-30 16:02:29 +01:00
codl
d87ada3d73
add tests for notification methods 2017-11-30 02:36:43 +01:00
codl
9a9604896c
add test for favourites 2017-11-30 02:26:28 +01:00
codl
f274e0fb5c
add tests for mutes and blocks 2017-11-30 02:24:16 +01:00
codl
7389a8888d
add test for search method 2017-11-30 02:13:44 +01:00
codl
2abb1f1715
disable follow request emails on test user 2017-11-30 02:05:09 +01:00
codl
9227528a15
add tests for follow request methods 2017-11-30 01:54:52 +01:00
codl
2b40089810
add tests for domain block methods 2017-11-30 01:29:20 +01:00
codl
f9a52029fc
add tests for account methods 2017-11-30 00:56:35 +01:00
codl
7464315be7
add test for using _pagination_prev and _pagination_next directly 2017-11-29 23:59:53 +01:00
codl
7d51c0b17e
update test docs 2017-11-29 23:46:51 +01:00
codl
d76c26e4b9
add test for throwing when requesting a hashtag tl with a leading hash 2017-11-29 22:34:13 +01:00
codl
4d99e9316e
add failing test case for #111 2017-11-29 22:07:27 +01:00
codl
309cc26ded
add another user to the test setup 2017-11-29 22:06:24 +01:00
codl
5ecff35446
mark the 2 tests that are xfail as strictly xfail 2017-11-29 18:34:18 +01:00
codl
51b221e87f
id hook test shouldn't be marked as expected to fail anymore 2017-11-29 18:32:37 +01:00
Lorenz Diener
961425e2ab
Merge pull request #109 from codl/test-suite
Test suite
2017-11-29 17:48:56 +01:00
codl
d41e4f42d5
add test documentation 2017-11-28 14:12:15 +01:00
codl
59c4e4d4f8
fix streaming tests 2017-11-28 13:50:57 +01:00
codl
d47f915bfb
add test for fetch_remaining 2017-11-28 01:49:15 +01:00
codl
655a45e086
add test for pagination 2017-11-28 01:41:18 +01:00
codl
38f99480db
add tests for media 2017-11-27 23:49:14 +01:00
codl
c73fd26729
add tests for writing statuses 2017-11-27 22:52:19 +01:00
codl
26eb1004bb
add tests for reading statuses 2017-11-27 21:36:34 +01:00
codl
9ee84a8dcb
add test case for log_in with no log in method given 2017-11-27 20:59:14 +01:00
codl
8c9dcbe871
shouting!!!!!! ahhh python 2 is bad 2017-11-27 20:51:12 +01:00
codl
8601a8a5e1
god dAmn it python 2 2017-11-27 20:47:14 +01:00
codl
eed6f8f0a4
add tests for log_in 2017-11-27 20:43:27 +01:00
codl
508d1d2ddd
hooks: mark failing test resolved in upstream as xfail 2017-11-27 20:42:54 +01:00
codl
29b73a57b8
add test for auth_request_url 2017-11-27 18:44:15 +01:00
codl
e8d1079562
constructor tests: create credential files at runtime 2017-11-27 17:47:15 +01:00
codl
14a34396e5
use pytest tmpdir fixture instead of making our own temp file 2017-11-27 17:43:37 +01:00
codl
80b1ce61c9
move test credential files to /tests/
i didnt even realise i put them there whoops
2017-11-27 17:13:54 +01:00
codl
f8ae581692
fix: os.open cannot handle file descriptors on python 2.x 2017-11-27 16:35:12 +01:00
codl
ee687510b0
add tests for create_app 2017-11-27 16:30:35 +01:00
codl
96f6e26f59
update public tl test to also test local tl 2017-11-27 15:26:33 +01:00
codl
ee802d39d0
add tests for constructor 2017-11-27 15:18:18 +01:00
codl
de17b86f0f
typo 2017-11-27 14:56:07 +01:00
codl
adc75c4697
add a test for accessing a tl that one does not have access to 2017-11-27 14:35:56 +01:00
codl
304145f442
rename mastodon and mastodon_anonymous fixtures to api, api_anonymous
it was starting to get confusing
2017-11-27 14:35:02 +01:00
codl
cfc9c1ce0c
add timeline tests 2017-11-27 14:20:31 +01:00
codl
765db0fc81
move fixtures.py to standardized location conftest.py 2017-11-27 14:20:31 +01:00
codl
d09d27cdd2
add a test for instance 2017-11-27 03:12:02 +01:00
codl
4b60a0d3cf
add tests for json hooks
including a failing test for that thing i fixed earlier which isn't
in this branch 😓
2017-11-27 03:12:02 +01:00
FoxMaSk
e0e68ccd6a not pep8 compliant #71 2017-09-05 22:59:32 +02:00
Will Thompson
ab60931620
Initial implementation of streaming API
This is missing any error handling and rate-limiting around the stream
itself, but once the stream is established, the full range of events are
supported.

Fixes issue #14.
2017-04-10 08:18:08 +01:00