Marnanel Thurman
66cec9a1c3
draft test for patching update_credentials
2020-04-19 16:19:20 +01:00
Marnanel Thurman
5d1dda99cb
More Trilby tests are using TrilbyTest's get, post, etc instead of the standalone ones
...
(which are going away soon)
2020-04-19 16:10:57 +01:00
Marnanel Thurman
dc3ce6c2f4
TrilbyTest's get, post, etc gain "expect_result" and "parse_result" params
2020-04-19 16:10:08 +01:00
Marnanel Thurman
33e23f39bb
Status lookup is read-only for unauth'd users
2020-04-19 16:09:32 +01:00
Marnanel Thurman
45e565ae66
Code which uses Person doesn't have to bother about TrilbyUsers at all.
2020-04-19 00:13:50 +01:00
Marnanel Thurman
bd7454d4ff
Slightly more informative error message if the account fields test fails
2020-04-19 00:13:34 +01:00
Marnanel Thurman
eb8d655008
trilby test client passes data to POST requests correctly
2020-04-18 23:57:47 +01:00
Marnanel Thurman
72085c635d
test_get_all_statuses was really a timeline test; removed
...
also removed slash from the end of "statuses/" path
2020-04-18 23:57:18 +01:00
Marnanel Thurman
b245f467b1
Simple account retrieval doesn't give you "source" for your own account
2020-04-18 23:45:38 +01:00
Marnanel Thurman
8c5949fc43
Look up local user by username (rather than by id as in the old system)
2020-04-18 23:45:12 +01:00
Marnanel Thurman
a8186fa585
trilby tests:
...
- ACCOUNT_EXPECTED etc moved to __init__
- the path param to get, post, etc is called "path" not "url"
- _create_alice in TrilbyTestCase for now
- get, post, etc methods in TrilbyTestCase
(the existing standalone functions are still there for now
to avoid breaking stuff we're going to refactor soon)
- test_post_multiple_statuses removed bc pointless
- test for custom emojis moved to test_instance and
its path fixed to the correct one
2020-04-16 17:25:17 +01:00
Marnanel Thurman
d80ae73e5c
test_integration and test_rest merged into the other tests;
...
some tests still breaking
2020-04-16 16:39:38 +01:00
Marnanel Thurman
0f8937b917
On trilby tests:
...
- tests which were expecting 201 now expect 200.
- test_instance, all stubs
- test_search, all stubs
- many new stubs so we have (stub) API coverage
2020-04-16 16:22:45 +01:00
Marnanel Thurman
eafe450836
trilby test_account (all stubs)
2020-04-16 16:07:18 +01:00
Marnanel Thurman
84bdc26ee1
Reblog / unreblog / reblogged_by views
2020-04-15 18:25:24 +01:00
Marnanel Thurman
3be0ab6fc7
if response is not JSON, don't attempt to continue
2020-04-15 18:25:00 +01:00
Marnanel Thurman
05445444b9
reblogged signal
2020-04-15 18:24:43 +01:00
Marnanel Thurman
c041b67fcb
"reblog" in StatusSerializer becomes a RecursiveField
2020-04-15 18:24:02 +01:00
Marnanel Thurman
fff3bd00d2
ForeignKey of Status back to Person renamed "poster"
...
Statuses can't be replies to, or reblogs of, themselves.
2020-04-15 18:08:44 +01:00
Marnanel Thurman
0b99864320
add reblog field to Status
2020-04-15 16:07:35 +01:00
Marnanel Thurman
b6a59cdc61
get_favourited_by
2020-04-15 16:01:21 +01:00
Marnanel Thurman
de6c79b073
get context working
2020-04-14 17:54:52 +01:00
Marnanel Thurman
21ecbd03e4
new test for get context; doesn't yet pass
2020-04-14 17:35:35 +01:00
Marnanel Thurman
31713c9c41
missing param
2020-04-14 14:29:28 +01:00
Marnanel Thurman
027401c29b
Status deletion tests; deletion check for ownership
2020-04-14 14:27:18 +01:00
Marnanel Thurman
61c450c387
Getting status that doesn't exist returns 404
2020-04-14 14:11:43 +01:00
Marnanel Thurman
e789b10247
TestGetStatus
2020-04-14 14:08:55 +01:00
Marnanel Thurman
368ff8209b
TestPublish
2020-04-14 13:55:06 +01:00
Marnanel Thurman
7e9f5fca7a
intermediate
2020-04-14 13:49:04 +01:00
Marnanel Thurman
eec30c221b
intermediate
2020-04-14 13:43:52 +01:00
Marnanel Thurman
eb5ac2f123
unlike, plus test
2020-04-13 22:40:46 +01:00
Marnanel Thurman
fbe720872c
tests and test stubs for status
2020-04-13 22:32:22 +01:00
Marnanel Thurman
aa7a3b90fe
intermediate
2020-04-06 23:44:35 +01:00
Marnanel Thurman
a1a563425b
rm obsolete bits of bowler_pub
2020-04-05 01:52:36 +01:00
Marnanel Thurman
0b5c654383
intermediate
2020-04-05 01:48:26 +01:00
Marnanel Thurman
e34bb594a6
new migrations
2020-04-04 21:38:18 +01:00
Marnanel Thurman
62e178250c
rm trilby migrations
2020-04-04 21:37:28 +01:00
Marnanel Thurman
23c7b69402
rm bowler migrations
2020-04-04 21:36:47 +01:00
Marnanel Thurman
b757259111
intermediate
2020-04-04 21:20:17 +01:00
Marnanel Thurman
14ea5c1b13
tests all pass
2020-04-04 20:55:04 +01:00
Marnanel Thurman
15e648d507
intermediate
2020-04-04 20:51:20 +01:00
Marnanel Thurman
67894e2d5f
intermediate
2020-04-04 20:43:05 +01:00
Marnanel Thurman
f918d21c30
split "models" into separate files
2020-04-04 01:37:26 +01:00
Marnanel Thurman
5021f60431
intermediate
2020-04-03 17:57:03 +01:00
Marnanel Thurman
d330c649ae
intermediate
2020-03-31 11:11:33 +01:00
Marnanel Thurman
8e910bd974
intermediate
2020-03-31 02:23:51 +01:00
Marnanel Thurman
5b012e0f6c
intermediate
2020-03-31 02:11:57 +01:00
Marnanel Thurman
4418a61a1b
intermediate
2020-03-30 20:53:55 +01:00
Marnanel Thurman
2c2b8cc67f
intermediate
2020-03-29 18:09:19 +01:00
Marnanel Thurman
0e920c6906
intermediate
2020-03-29 17:59:28 +01:00