Commit graph

24 commits

Author SHA1 Message Date
Bart Schuurmans 92a94d2fdc django.utils.timezone.utc alias is deprecated 2024-04-25 10:12:30 +02:00
Adeodato Simó e2c9ea3cd2 Fix instances of bad-classmethod-argument in recently edited files 2024-03-17 21:28:55 -03:00
Adeodato Simó 1b9e0546e6 Bracket-wrap calls to patch() for better readability 2024-03-17 20:34:12 -03:00
Adeodato Simó 9d502f5ee2
Use setUpTestData() to speed up tests
Pylint's `bad-classmethod-argument` is disabled for each definition
to avoid rewriting the method bodies just to rename `self` → `cls`.
This can be done gradually, as the setUpTestData methods are modified
along the way.
2023-12-11 19:40:30 -03:00
Mouse Reeve 834eb95d9d Reformats readthrough view test 2022-01-11 10:43:17 -08:00
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 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 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 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
Mouse Reeve 973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve ce4a57e5c9 Reading status view name 2021-06-09 11:16:52 -07:00
Mouse Reeve 4107f7ddf1 Updates readthrough tests 2021-06-09 11:07:15 -07:00
Mouse Reeve 625ab46059 Removes start reading with progress test
There's no way to do this from the ui???? I don't tihnk there ever
was???
2021-06-08 15:03:50 -07:00
Joachim 2ea1cd8319 Tests 2021-05-26 23:57:29 +02:00
Mouse Reeve 6551c59c45 Don't store default edition in the dataase 2021-04-28 16:05:17 -07:00
Mouse Reeve 3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve 70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve 76e90cb3f6 Fixes remaining test patches 2021-02-08 09:38:28 -08:00
Renamed from bookwyrm/tests/actions/test_readthrough.py (Browse further)