Commit graph

1162 commits

Author SHA1 Message Date
Mouse Reeve
de1bace8f3 Updates tests 2022-01-11 08:06:52 -08:00
Mouse Reeve
34f375c53c Store user that added link 2022-01-10 13:27:01 -08:00
Mouse Reeve
8928e8da26 Corrects tests 2022-01-10 12:42:05 -08:00
Mouse Reeve
eec1155bb8 Adds admin view tests 2022-01-10 12:29:28 -08:00
Mouse Reeve
aa9864a21e Only show approved links 2022-01-09 20:30:23 -08:00
Mouse Reeve
63075a6fe9 Updates models 2022-01-09 14:21:13 -08:00
Mouse Reeve
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -08:00
Mouse Reeve
e1a617f742
Merge pull request #1613 from bookwyrm-social/list-not-loading
Use a redis cache to store lists for user
2022-01-08 13:38:20 -08:00
Mouse Reeve
392dbfce01 Merge branch 'main' into about-page 2022-01-07 14:59:26 -08:00
Mouse Reeve
f43a9570e2 Updates test 2022-01-07 13:40:20 -08:00
Mouse Reeve
0580b66c3b Fixes test 2022-01-07 10:34:45 -08:00
Mouse Reeve
165fdc6d2d Merge branch 'main' into list-not-loading 2022-01-07 10:32:17 -08:00
Mouse Reeve
e91947afbf Adds meaningful test mock 2022-01-07 10:06:11 -08:00
Mouse Reeve
8722778ed0 Updates tests 2022-01-06 12:13:24 -08:00
Mouse Reeve
ee301afa61 Adds tests for views 2022-01-06 09:55:35 -08:00
Mouse Reeve
8a889e9a69
Merge branch 'main' into list-not-loading 2022-01-04 12:27:41 -08:00
Mouse Reeve
cbc8ecb4b3 NotEqual, not False 2022-01-04 11:46:44 -08:00
Mouse Reeve
9dd2b88054 Updates fragile unit test causing nondeterministic failures 2022-01-04 11:35:12 -08:00
Mouse Reeve
c16312b068 Python formatting 2021-12-30 13:21:38 -08:00
Mouse Reeve
80f7c253de Improves list curate page test 2021-12-30 12:55:40 -08:00
Mouse Reeve
b090490cd9 Revert test of add list on create command 2021-12-30 12:06:22 -08:00
Mouse Reeve
cc37d7404e Fixes calls to add lists 2021-12-30 11:58:27 -08:00
Mouse Reeve
4de406afe1 Some tests fixes 2021-12-30 11:07:04 -08:00
Mouse Reeve
975ef7d38e Merge branch 'main' into list-not-loading 2021-12-30 10:44:23 -08:00
Mouse Reeve
2640c26bb1 Fixes wording in comments 2021-12-29 17:39:14 -08:00
Mouse Reeve
a9ff23ece0 Fixes nondeterministic test failure 2021-12-29 13:44:04 -08:00
Mouse Reeve
b43b3a26c7
Merge pull request #1729 from bookwyrm-social/templatetag-tests
Templatetag tests
2021-12-29 13:15:42 -08:00
Mouse Reeve
b1687f5cac Adds another test 2021-12-29 13:03:23 -08:00
Mouse Reeve
d89c7a3617
Merge pull request #1727 from bookwyrm-social/feed-template-tests
HTML validation fixes
2021-12-29 12:42:22 -08:00
Mouse Reeve
18213e2d24 Moves tests into separate files 2021-12-29 12:42:02 -08:00
Mouse Reeve
0ae6d5e708 Renames templatetags test file 2021-12-29 12:33:42 -08:00
Mouse Reeve
9e5707a9e1 Move templatetags test file into subdirectory 2021-12-29 12:31:42 -08:00
Mouse Reeve
7623168410 Fixes search html
And suppresses more warnings
2021-12-29 12:26:40 -08:00
Mouse Reeve
65e59e7b56 Validate search page html 2021-12-29 11:52:32 -08:00
Mouse Reeve
6075a88438 Validate html in get started views tests 2021-12-29 11:45:07 -08:00
Mouse Reeve
8e89d02093 Fixes html form for editing lists 2021-12-29 11:11:09 -08:00
Mouse Reeve
3770713e07 Validate html in discover page tests 2021-12-29 10:44:04 -08:00
Mouse Reeve
161532f8a8 Adds validate_html to announcement page tests 2021-12-29 10:37:21 -08:00
Mouse Reeve
9facaf404f Validates html in feed views 2021-12-29 10:20:54 -08:00
Mouse Reeve
0dcd7bee10
Merge pull request #1715 from bookwyrm-social/summary-queries
Simplifies query for earliest year
2021-12-29 10:17:52 -08:00
Mouse Reeve
41fb44a46a Python formatting 2021-12-29 10:07:27 -08:00
Mouse Reeve
f9e9dc55d5 Updates tests 2021-12-29 09:58:42 -08:00
Mouse Reeve
6ca57ae314 Linter fixes 2021-12-29 09:43:06 -08:00
Mouse Reeve
5b75f3d310 Avoid clash with existing test data user 2021-12-28 16:02:48 -08:00
Mouse Reeve
6745cd73cc Deterministic ordering for OL import test 2021-12-28 15:53:35 -08:00
Mouse Reeve
14a90e805a Test users with domains that contain dashes 2021-12-28 15:52:35 -08:00
Mouse Reeve
1a30546b99 Adds test for dm view with partner 2021-12-28 15:44:47 -08:00
Mouse Reeve
a58d600030 Adds librarything line without isbn to test data 2021-12-28 15:22:02 -08:00
Mouse Reeve
3f8e309680 Adds test for json requests to all books view 2021-12-28 15:04:06 -08:00
Mouse Reeve
8a3be920c6 Adds test for logged out view of group 2021-12-28 14:29:51 -08:00
Joachim
17cb936a16 Update test_user.py 2021-12-28 21:54:06 +01:00
Joachim
05142f4b73 Add test 2021-12-28 21:49:41 +01:00
Joachim
07f2d9a11c Update tests 2021-12-22 18:15:05 +01:00
Joachim
67092fd3e3 🤦 2021-12-22 10:27:59 +01:00
Joachim
66ee5ccacf Fix tests? 2021-12-21 17:24:15 +01:00
Joachim
8f0df388e6 Update test_annual_summary.py 2021-12-21 15:57:58 +01:00
Joachim
37abf9531d fix test 2021-12-21 15:55:51 +01:00
Joachim
c13e7479c3 Add tests 2021-12-21 14:44:21 +01:00
Mouse Reeve
0629fce171 Fixes post test 2021-12-15 17:25:20 -08:00
Mouse Reeve
af8cb51325 Adds view tests 2021-12-15 13:58:29 -08:00
Mouse Reeve
5e932711f9 Merge branch 'main' into list-not-loading 2021-12-15 09:56:33 -08:00
Mouse Reeve
e6d500df6b Removes debugging print statements 2021-12-14 19:52:43 -08:00
Mouse Reeve
6ba5d53d38 trying item.last instead of going by list lookup 2021-12-14 19:46:35 -08:00
Mouse Reeve
69204a1c94 More print statements 2021-12-14 19:38:28 -08:00
Mouse Reeve
6af2182879 Test print statements 2021-12-14 19:20:29 -08:00
Mouse Reeve
8cb2e74c81 Uncomment test 2021-12-14 19:05:45 -08:00
Mouse Reeve
86fcaad72c Comments out failing test 2021-12-14 18:47:17 -08:00
Mouse Reeve
3545085a7d Fixes tests 2021-12-14 14:19:27 -08:00
Mouse Reeve
bee3c86223 Lookup by openlibrary key 2021-12-14 12:49:00 -08:00
Mouse Reeve
4f1d4d9bc0 Adds openlibrary keys to data 2021-12-14 12:42:56 -08:00
Mouse Reeve
bb69c32a6c Adds support for openlibrary csv shelf name format 2021-12-14 11:58:56 -08:00
Mouse Reeve
0012f4464d Consider group membership for list cache 2021-12-14 11:07:36 -08:00
Mouse Reeve
3358e45086 Updates mocks on list stream tasks 2021-12-14 09:31:57 -08:00
Mouse Reeve
3d6266cca2 Merge branch 'main' into list-not-loading 2021-12-14 09:17:00 -08:00
Mouse Reeve
288c396c49 Removes test line 2021-12-10 13:45:50 -08:00
Mouse Reeve
3fb9d140ed Fixes typo in test 2021-12-10 13:39:41 -08:00
Mouse Reeve
d28b22a361 Adds test for generated links in book model 2021-12-10 13:33:00 -08:00
Mouse Reeve
cfd0d0d56a Pylint changes for group model tests 2021-12-10 12:32:53 -08:00
Mouse Reeve
8d6059ae32 Fixes mocks on group model tests 2021-12-10 12:32:05 -08:00
Mouse Reeve
00fdca681f Fixes retry test 2021-12-10 12:16:33 -08:00
Mouse Reeve
5430e389d9 Adds group accept and reject tests 2021-12-10 12:10:58 -08:00
Mouse Reeve
3aebb54feb Adds remove member tests 2021-12-10 11:53:10 -08:00
Mouse Reeve
9f04919bec Remove unrelated tests changes
these will happen elsewhere
2021-12-10 11:44:38 -08:00
Mouse Reeve
10c74d0619 Additional import tests 2021-12-10 11:41:54 -08:00
Mouse Reeve
7a547d9a1a Adds more groups tests 2021-12-10 11:21:11 -08:00
Mouse Reeve
b890e93533 Adds saved list view test 2021-12-10 09:55:50 -08:00
Mouse Reeve
f7c8a550cf Fixes references to populate lists task 2021-12-10 09:34:17 -08:00
Mouse Reeve
94250dab42 Mocks for list signals tests 2021-12-10 09:19:32 -08:00
Mouse Reeve
59e6b67bc8 Activitystreams mocks 2021-12-09 20:38:44 -08:00
Mouse Reeve
0c193b6ce1 ActivityStream mocks 2021-12-09 20:33:11 -08:00
Mouse Reeve
5e6b28bbc0 Prefs mocks 2021-12-09 20:30:53 -08:00
Mouse Reeve
acde30887d Importer tests 2021-12-09 20:12:06 -08:00
Mouse Reeve
936f045344 Adds resolve book view test 2021-12-09 19:36:12 -08:00
Mouse Reeve
d9d0919ad4 More mocks for more tests 2021-12-09 19:14:10 -08:00
Mouse Reeve
234d44b5c7 Adds delete test 2021-12-09 19:00:48 -08:00
Mouse Reeve
9c86bb1bc3 Removes invalid render 2021-12-09 18:54:15 -08:00
Mouse Reeve
23842f7501 Test for followers api view 2021-12-09 18:46:24 -08:00
Mouse Reeve
b57aa4c9d3 Fixes redirect 2021-12-09 18:42:09 -08:00
Mouse Reeve
cf275d0c59 Removes unused groups view 2021-12-09 18:38:05 -08:00
Mouse Reeve
074c2cfb95 Gets updates view to 100% test coverage 2021-12-09 18:16:34 -08:00