Commit graph

40 commits

Author SHA1 Message Date
Mouse Reeve
2d63bfb791 Updates views tests 2021-12-09 18:02:59 -08:00
Mouse Reeve
e6a251fdad Updates mocks across tests 2021-11-12 10:07:38 -08:00
Mouse Reeve
72d5238590 More mocks 2021-09-06 14:50:33 -07:00
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
f35855ce69 Moore moocks 2021-08-03 13:50:12 -07:00
Mouse Reeve
c23f341980 Move annotated user function tests 2021-08-03 12:48:44 -07:00
Mouse Reeve
777d177c67 Adds more mocks 2021-08-03 12:41:41 -07:00
Mouse Reeve
ee9c5a2a4b Adds mock to fields 2021-08-03 12:33:42 -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
f8df501239 Fix tests (for realz) 2021-05-27 23:19:17 +02: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
4dacf4df3a Refactor get_user_from_username to raise 404 directly 2021-04-30 09:33:36 -07:00
Mouse Reeve
3feba60665 Fixes test 2021-04-29 13:54:17 -07:00
Mouse Reeve
e2b43bbd6d Fixes unit test 2021-04-28 09:33:38 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
b6a7871b04 Makes visibility evaluator a model function 2021-04-11 09:31:18 -07:00
Mouse Reeve
89d3c3e82b Tests searching for users on blocked servers 2021-04-10 11:49:45 -07:00
Mouse Reeve
0de1b8d0c3 Case insensitive remote user search 2021-04-08 09:59:21 -07:00
Mouse Reeve
ae1ebecc76 Fixes tests for suggested/annotated users 2021-04-02 07:31:11 -07:00
Mouse Reeve
662ddf44b9 Avoid error when request Accept header is not set 2021-03-29 14:12:07 -07:00
Mouse Reeve
c42719ee1e Fixes wildly high similiarity metrics in directory 2021-03-28 10:32:58 -07:00
Mouse Reeve
81925b11cf Removes duplicate patch annotation 2021-03-27 10:38:07 -07:00
Mouse Reeve
c398d8a870 Python formatting 2021-03-27 10:00:32 -07:00
Mouse Reeve
1341341a4f Adds test for annotated user helper 2021-03-27 09:56:46 -07:00
Mouse Reeve
b9ec6a1e2b Mocks redis for helpers tests 2021-03-23 09:00:04 -07:00
Mouse Reeve
7eb494b4ab Removes get activity feed function 2021-03-22 19:17:46 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
a5ee535ab6 fixes book reviews queryset aggregators 2021-02-24 12:29:50 -08:00
Mouse Reeve
2a5d4b83d8 Show dms in the right places 2021-02-24 11:59:21 -08:00
Mouse Reeve
fdbd3688f4
Merge pull request #636 from mouse-reeve/follow-block-button
Cleans up display of follow/block/unfollow/unblock buttons
2021-02-23 13:38:02 -08:00
Mouse Reeve
364b053d9a Better user block privacy 2021-02-23 12:41:37 -08:00
Mouse Reeve
6e09d485c4 Outbox sensitive to user agent strings 2021-02-23 11:34:15 -08:00
Mouse Reeve
6b10e487b6 adding mocks for views tests 2021-02-06 22:37:19 -08:00
Mouse Reeve
4e0ec12052 hide blocked content from feed 2021-01-24 16:13:26 -08:00
Mouse Reeve
6cc29a6cf8 Hide content from blocked users 2021-01-23 11:40:41 -08:00
Mouse Reeve
e32a31e020 Fixes tests 2021-01-13 13:54:15 -08:00
Mouse Reeve
2e61bd0e7a Removes old views file 2021-01-13 12:18:19 -08:00
Renamed from bookwyrm/tests/test_views.py (Browse further)