Commit graph

883 commits

Author SHA1 Message Date
Mouse Reeve
585c71e72a Adds html linting to test 2021-09-28 10:59:51 -07:00
Levi Bard
9db75cc5b7 Add test for creating a book with a cover url 2021-09-28 10:01:31 +02:00
Mouse Reeve
767d378170 Update status tests 2021-09-27 18:52:45 -07:00
Mouse Reeve
e0aa8a7fdf Fixes shelf view boolean logic 2021-09-27 17:58:21 -07:00
Mouse Reeve
56bf8d923f Updates goal and list tests 2021-09-27 17:52:10 -07:00
Mouse Reeve
6c0b1da83b Fixes feed tests 2021-09-27 17:32:54 -07:00
Mouse Reeve
c874a762dd Updates inbox view 2021-09-27 17:27:17 -07:00
Mouse Reeve
62ff9d6199 Python formatting 2021-09-27 16:08:52 -07:00
Mouse Reeve
af2f78095e Fixes assert syntax 2021-09-27 16:06:01 -07:00
Mouse Reeve
3f10ae248a Changes visiblity function to raise 2021-09-27 15:54:58 -07:00
Mouse Reeve
ab5521480d
Merge pull request #1462 from bookwyrm-social/fewer-active-shelf-queries
Fewer active shelf queries
2021-09-27 13:16:50 -07:00
Mouse Reeve
6d2403bbc7
Merge pull request #1459 from bookwyrm-social/password-reset
Prevent password reset for inactive users
2021-09-27 12:55:05 -07:00
Mouse Reeve
8b0a8e2611 Another user mock on request 2021-09-27 12:38:49 -07:00
Mouse Reeve
dd3850a3ba Updates books test 2021-09-27 12:26:56 -07:00
Mouse Reeve
1cb1b29f57 Adds request user to mock 2021-09-27 10:26:25 -07:00
Mouse Reeve
d510d72b8d Fixes syntax in reading view 2021-09-22 16:41:43 -07:00
Mouse Reeve
b7c2fb600a String formatting for status view tests 2021-09-22 10:55:51 -07:00
Mouse Reeve
673f49bf21 Tests fixes 2021-09-20 18:01:12 -07:00
Mouse Reeve
90c74f00c9 Fixes missing f format in preview image string
plus a unit test for it
2021-09-20 17:40:59 -07:00
Mouse Reeve
a74141ece4 Adds site models tests 2021-09-20 17:19:20 -07:00
Mouse Reeve
967e26ce48 Updates connector manager tests 2021-09-17 11:29:10 -07:00
Mouse Reeve
1465385452 Python formatting 2021-09-16 15:29:06 -07:00
Mouse Reeve
d9284ede9b updates search tests 2021-09-16 15:27:06 -07:00
Mouse Reeve
8c4cafed79 Fixes formatting isbn endpoint results 2021-09-16 12:53:27 -07:00
Mouse Reeve
22af7ece71 Fixes SearchResult imports in tests 2021-09-16 12:41:30 -07:00
Mouse Reeve
4cdf895d77 Removes references to local field in connector tests 2021-09-16 12:29:02 -07:00
Mouse Reeve
76ab5a763c Remove outdated test 2021-09-16 10:56:28 -07:00
Mouse Reeve
9d5bfc494f Adds dashbaord view test 2021-09-11 13:35:23 -07:00
Mouse Reeve
09e49c70ed Fixes peers endpoint 2021-09-11 13:30:27 -07:00
Mouse Reeve
c2ccef20a6 Fixes references to federation views 2021-09-11 07:27:45 -07:00
Mouse Reeve
ad9be9f3d1 Updates test 2021-09-09 17:22:42 -07:00
Mouse Reeve
de3c79ce21 Merge branch 'main' into email-blocking 2021-09-08 17:43:08 -07:00
Mouse Reeve
bcb78653e9 Fixes remove email domain test 2021-09-08 17:39:22 -07:00
Mouse Reeve
f5de1c903e Adds deletion test 2021-09-08 17:33:43 -07:00
Mouse Reeve
31e6e59047 Updates test 2021-09-08 16:48:23 -07:00
Mouse Reeve
21527803de Fixes delete test 2021-09-08 16:35:36 -07:00
Mouse Reeve
b891f32707 Adds deletion test 2021-09-08 16:31:15 -07:00
Mouse Reeve
7638f99c1b Adds tests 2021-09-08 16:14:13 -07:00
Mouse Reeve
4db5677509 Fixes filters 2021-09-08 12:06:23 -07:00
Mouse Reeve
47ba2478b6 Split out test files 2021-09-07 15:06:44 -07:00
Mouse Reeve
75cc2ee164 Split authentication views into login and register 2021-09-07 13:11:44 -07:00
Mouse Reeve
da3bc1e591 Python formatting 2021-09-07 12:05:34 -07:00
Mouse Reeve
6bc4bf4503 Fixes mock 2021-09-07 12:02:29 -07:00
Mouse Reeve
b717c2fcd8 Fixes mock arg on test 2021-09-07 11:57:18 -07:00
Mouse Reeve
82ad1abe9a more activitystreams tests 2021-09-07 11:53:41 -07:00
Mouse Reeve
d147c6ac2f Separate tests into more files 2021-09-07 11:13:18 -07:00
Mouse Reeve
a4041911c6 Adds tests more activitystreams tasks 2021-09-07 11:01:27 -07:00
Mouse Reeve
f4b43af600 Creates test files for activitystreams 2021-09-07 10:24:09 -07:00
Mouse Reeve
93d9e7b1a1
Merge pull request #1254 from bookwyrm-social/activitystreams-celery
Move activitystreams updates to tasks
2021-09-06 21:33:01 -07:00
Mouse Reeve
0a9d515d45 two more mocks 2021-09-06 20:37:09 -07:00
Mouse Reeve
9988a3e82b More test fixes 2021-09-06 18:58:45 -07:00
Mouse Reeve
c56a9021b6 A few more failing tests 2021-09-06 18:55:48 -07:00
Mouse Reeve
2653458e56 another round of mocks 2021-09-06 18:40:12 -07:00
Mouse Reeve
59400511c9 mocks mocks more mocks 2021-09-06 17:55:44 -07:00
Mouse Reeve
db34918347 Updates user view test 2021-09-06 16:33:21 -07:00
Mouse Reeve
4ea9637a2d Updates activitystreams tests 2021-09-06 16:16:45 -07:00
Mouse Reeve
38dc640dd5 Mock for goodreads import test` 2021-09-06 15:10:52 -07:00
Mouse Reeve
227b72eaf9 Fixes mocks syntax 2021-09-06 15:09:04 -07: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
a8973336d9 Adds mock to list items creation 2021-09-06 12:58:18 -07:00
Mouse Reeve
8382d1a684 Updates tests 2021-09-06 12:31:13 -07:00
Mouse Reeve
cb21099e0b Fixes serialization of delete activity 2021-09-06 12:00:10 -07:00
Mouse Reeve
ae81d6cf71 More tests 2021-09-06 11:55:04 -07:00
Mouse Reeve
c4f2d67048 Adds view tests 2021-09-06 11:17:36 -07:00
Mouse Reeve
ccc41deb36 Retain whitespace in split for detecting urls 2021-09-02 13:36:01 -07:00
reesporte
4f321e5f33 fix link formatting issue, for real this time 2021-08-30 14:23:04 -05:00
reesporte
6e628fed38 formatting 2021-08-30 11:38:00 -05:00
reesporte
aa946e3ab7 add more test cases for link formatting 2021-08-30 11:12:27 -05:00
Mouse Reeve
57ef1522b5 Merge branch 'main' into readthrough-dates 2021-08-29 11:18:35 -07:00
Mouse Reeve
fc40c45591
Merge pull request #1339 from bookwyrm-social/privacy
Fixes parsing privacy fields from federated posts
2021-08-29 10:52:36 -07:00
Mouse Reeve
8629c4450c Adds test for user followers field from AP 2021-08-28 12:20:43 -07:00
Mouse Reeve
a5dcc0e5e4 Support multiple possible fields that indicate user ownership 2021-08-28 12:11:15 -07:00
Mouse Reeve
9c4fd1e602 Set user default values 2021-08-28 12:06:03 -07:00
Mouse Reeve
1e675384bc Updates user model test 2021-08-28 11:58:41 -07:00
Mouse Reeve
e4b5890992 Updates field tests 2021-08-28 11:41:33 -07:00
Mouse Reeve
41ed5f3103
Merge pull request #1337 from bookwyrm-social/feed-logic
Feed logic
2021-08-28 11:29:37 -07:00
Mouse Reeve
dc72df7339 Generate likely followers url for existing users 2021-08-28 11:15:17 -07:00
Mouse Reeve
f308b7793d Adds test for followers only privacy level 2021-08-28 10:08:41 -07:00
Mouse Reeve
e1af13d038 Adds test 2021-08-28 09:55:06 -07:00
D Anzorge
92b96afc2d Make webfinger match usernames in case insensitive manner 2021-08-27 21:27:54 +02:00
Mouse Reeve
497b54c014 Updates test 2021-08-27 11:38:34 -07:00
Mouse Reeve
e129b9c1f1 Adds more readthrough model tests 2021-08-27 11:16:51 -07:00
Mouse Reeve
016930fd0c
Merge pull request #1327 from bookwyrm-social/lists
Bookmark lists
2021-08-23 16:54:36 -06:00
Mouse Reeve
473ad5ffba Fixes tests 2021-08-23 15:35:51 -07:00
Mouse Reeve
b7fb55e6ad Fixes test for login redirected view 2021-08-23 14:53:48 -07:00
Mouse Reeve
47dbcc3af0 Adds views test 2021-08-23 14:15:19 -07:00
Mouse Reeve
d3cfceafca Mocks creation of boost 2021-08-23 13:58:19 -07:00
Mouse Reeve
9c21f4d8e6 Adds tests for boosts in activitystreams 2021-08-23 10:44:38 -07:00
Mouse Reeve
fc9613b975
Merge pull request #1305 from bookwyrm-social/search-editions
Search editions
2021-08-17 13:26:20 -06:00
Mouse Reeve
cb4c6100aa Adds tests 2021-08-17 11:49:29 -07:00
Mouse Reeve
d7a168e0a9 Python formatting 2021-08-16 14:00:11 -07:00
Mouse Reeve
bb49d0dc9b Adds test 2021-08-16 13:59:15 -07:00
Mouse Reeve
5de3c75de3 Remove render from tests 2021-08-16 10:30:11 -07:00
Mouse Reeve
b8082ad233 Merge branch 'main' into rss 2021-08-16 10:25:33 -07:00
Mouse Reeve
7345b85ebd Granular RSS tests 2021-08-16 10:25:21 -07:00
Mouse Reeve
fd56379518 Updates rss feed view 2021-08-09 07:38:43 -07:00
Mouse Reeve
820eeeb69a Lowercase "rate" 2021-08-09 07:29:08 -07:00
Mouse Reeve
0462a3b0fc
Merge pull request #1266 from bookwyrm-social/discover-local
Adds local discover view
2021-08-08 16:09:15 -06:00