Commit graph

32 commits

Author SHA1 Message Date
Mouse Reeve
bb94995389 Where you need one mock, you probably need the other 2021-09-06 14:48:45 -07:00
Mouse Reeve
a6b0ba1826 Updates activistreams add_status mock 2021-09-06 13:53:49 -07:00
Mouse Reeve
be044bce0d Updates mocks 2021-08-03 10:25:53 -07:00
Mouse Reeve
6d8bced0f1 Refactors test mocks 2021-08-02 16:05:40 -07:00
Joachim
b7965ce2ae Fix tests 2021-05-27 21:37:27 +02:00
Joachim
2ea1cd8319 Tests 2021-05-26 23:57:29 +02:00
Mouse Reeve
55eb1c4526 Fixes model name 2021-04-26 13:50:43 -07:00
Mouse Reeve
7006f30ac8 Uses unique test model name 2021-04-26 11:51:17 -07:00
Mouse Reeve
ff8601f329 Fixes spacing for new Black release 2021-04-26 11:37:07 -07:00
Mouse Reeve
b16ac91b16 Python formatting 2021-04-26 11:34:04 -07:00
Mouse Reeve
cd869dde09 Fixes tests of bookwyrm abstract model 2021-04-26 11:28:33 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
8f3601d4cd Adds redis mocks to base model tests 2021-04-12 06:44:50 -07:00
Mouse Reeve
c8812c48c1 Use local user in test 2021-04-11 11:58:00 -07:00
Mouse Reeve
08586e348c Adds users to base model mock 2021-04-11 10:55:13 -07:00
Mouse Reeve
db4519b2e1 Fixes visible_to_user check for non-federated objs
why did this cause a problem _now_??
2021-04-11 10:45:08 -07:00
Mouse Reeve
7f271dbde7 Fixes model tests 2021-03-23 10:41:18 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
c7c975d695 Use save method override instead of a signal
and gets the new test file working
2021-02-06 12:00:47 -08:00
Mouse Reeve
50f61f5d19 Merge branch 'main' into validate-username 2021-01-04 09:41:17 -08:00
Mouse Reeve
a444c5f6fc Fixes model deduplication from data 2020-12-31 12:22:00 -08:00
Mouse Reeve
7e987fc446 Updates unit tests for new username handling
still some failing tho
2020-12-27 17:21:01 -08:00
Mouse Reeve
e7f400533e Fixes missing book and user objects 2020-12-12 14:15:10 -08:00
Mouse Reeve
7c43fa1f7c Adds deduplication fields 2020-12-12 13:39:55 -08:00
Mouse Reeve
9c9da35d9a Tests base_model to_activity 2020-12-04 15:14:26 -08:00
Mouse Reeve
800ddf2a6b fixes inconsistency in to_undo activity helper 2020-12-04 11:53:50 -08:00
Mouse Reeve
39307ce1cd Fixes remote_id on Update activities 2020-12-04 11:48:34 -08:00
Mouse Reeve
2e4aff90a3 Fixes signing Create activities
and some tests for the base_model
2020-12-04 11:29:38 -08:00
Mouse Reeve
646ced80ce Test fixes 2020-12-03 17:18:23 -08:00
Mouse Reeve
13a8bb45af Corrects references in tests 2020-09-21 08:22:58 -07:00
Mouse Reeve
c7883cd615 Updates migrations
To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
2020-09-21 08:10:37 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00
Renamed from fedireads/tests/models/test_base_model.py (Browse further)