extensions-website/common/tests
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
..
factories Speedup tests: reduce the number of ratings created for each version 2024-06-03 10:38:40 +02:00
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
test_admin.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
test_compare.py OpenAPI Support 2024-02-14 15:28:29 +01:00
utils.py API: Upload new version of an extension (#138) 2024-05-27 16:18:03 +02:00