Commit graph

11 commits

Author SHA1 Message Date
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 948f2964ac Updates admin tests to use perms instead of superuser
Superuser overrides all perms, so this was hiding simple typo-related
bugs in the permissions system
2022-07-07 14:01:05 -07:00
Mouse Reeve 1d45e8b4cc Updates ip blocklists tests 2022-01-27 19:43:42 -08:00
Mouse Reeve 89aa1673b2 Admin views tests 2022-01-27 19:39:07 -08:00
Mouse Reeve d9d0919ad4 More mocks for more tests 2021-12-09 19:14:10 -08:00
Mouse Reeve bdb1d1998a Helper function for html validation 2021-09-30 22:22:20 -07:00
Mouse Reeve ada3e1d4d6 Adds options to html validator and fixes dl/dts 2021-09-28 15:02:24 -07:00
Mouse Reeve afcd296513 Test rendered html 2021-09-28 13:44:49 -07:00
Mouse Reeve 0fa0c1e2d9 Adds IP blocklist render test 2021-09-28 13:36:41 -07:00