extensions-website/common
Oleg Komarov 4f7dda785e Speedup tests: reduce the number of ratings created for each version
Profiling shows that the test suite spends noticeable amount of time in
Rating.save -> {_update_rating_counters, _create_action_from_rating}

By reducing the number of rating items a factory creates, I get an speedup from
16s to 9s running tests with `--parallel 4` on my machine.
2024-06-03 10:38:40 +02:00
..
fixtures Merge 'policies' and 'conditions of use' pages (#117) 2024-05-07 19:20:15 +02:00
management/commands Fake data: shorten slugs to avoid dataerrors in psql 2024-05-10 21:07:27 +02:00
middleware Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
static/common Approval Queue: Top-align text and badges 2024-05-29 17:17:11 +02:00
templates UI: Point "Report Problem" to the "bug" template 2024-05-29 16:00:22 +02:00
templatetags Pagination: Fix URL for next/prev pages 2024-05-22 19:49:26 +02:00
tests Speedup tests: reduce the number of ratings created for each version 2024-06-03 10:38:40 +02:00
views Fix TemplateDoesNotExist that happens during handling of CSRF 2024-04-04 08:49:24 +02:00
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
admin.py Admin: display icon/featured image/version relations of files 2024-05-31 12:57:19 +02:00
compare.py OpenAPI Support 2024-02-14 15:28:29 +01:00
context_processors.py ApprovalQueue: fix N+1 query checking user.is_moderator 2024-05-06 19:16:50 +02:00
fields.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
help_texts.py Upload files, create extensions of different types + tests 2022-08-31 17:31:22 +02:00
log_entries.py Fix "Cannot record change" error that happens when a new user logs in 2024-04-04 08:41:45 +02:00
markdown_renderers.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
markdown.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
model_mixins.py Record changes: better way to compare object states 2024-04-23 18:38:41 +02:00