Commit graph

33 commits

Author SHA1 Message Date
Mouse Reeve
bdb1d1998a Helper function for html validation 2021-09-30 22:22:20 -07:00
Mouse Reeve
746d4bdba4 Validate html in user view tests 2021-09-28 17:31:13 -07:00
Mouse Reeve
db34918347 Updates user view test 2021-09-06 16:33:21 -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
b3fa8de65a fixes book mock in user view tests 2021-08-05 19:28:23 -07:00
Mouse Reeve
cbf5747308 Mock mocks mocks 2021-08-03 21:59:48 -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
e07672fff1 Fix tests 2021-06-18 18:28:24 +02:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve
7ae64c2a68 Splits user view out and adds template 2021-06-14 10:01:21 -07:00
Joachim
f8df501239 Fix tests (for realz) 2021-05-27 23:19:17 +02:00
Joachim
2ea1cd8319 Tests 2021-05-26 23:57:29 +02:00
Mouse Reeve
4b53342fd2 Fixes mock in unit test 2021-04-30 11:26:02 -07:00
Mouse Reeve
ca12359bee Fixes unit tests 2021-04-30 10:16:24 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
b22d1863c9 More robust user page test and bug fix 2021-04-20 12:31:45 -07:00
Pablo Barton
b0dc5f3f93 357 Users set preferred timezone, used for readthroughs 2021-03-28 19:16:43 -04:00
Mouse Reeve
a8545e2701 Adds tests for upload cover view
bonus test for user view
2021-03-19 09:20:48 -07:00
Mouse Reeve
139416d9c3 Moves federation info endpoints into views module 2021-03-13 11:00:55 -08:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
927cb15abd fixes edit user test 2021-02-11 12:42:54 -08:00
Mouse Reeve
18a86cbe2a More edit user tests 2021-02-11 08:38:45 -08:00
Mouse Reeve
b898f263b7 Another test case for the user view 2021-02-10 18:01:11 -08:00
Mouse Reeve
6b10e487b6 adding mocks for views tests 2021-02-06 22:37:19 -08:00
Mouse Reeve
b3bd6822b2 Make sure templates render rather than checking template paths 2021-01-30 12:30:03 -08:00
Mouse Reeve
932acc961f Fixes template paths in tests 2021-01-29 09:41:32 -08:00
Mouse Reeve
662cbf2da9
Merge pull request #555 from mouse-reeve/blocking
Blocking
2021-01-26 14:43:01 -08:00
Mouse Reeve
3f011445e2 Hide user pages to blocked users 2021-01-26 08:31:55 -08:00
Mouse Reeve
2a6a000e05 Moves avatar crop into function and adds test 2021-01-26 08:03:16 -08:00
Mouse Reeve
85d01d5df0 Moves user views to class view 2021-01-12 12:09:23 -08:00