flakytest.dev anze3db fedidevs
Profiles / #10

Passed Run of Nov 7, 23:52

CI github-actions:test · 9b8826a main dirty · pass/fail report
Some tests got too few samples to explain their time. Rerun with pytest --flakytest-profile --flakytest-rate 2000.
Wall time
24.60 s
4 workers
Test time
54.75 s
sum of test durations
Tests
310
310 passed
Profiler
tachyon
1000 Hz · 53,211 samples · Python 3.15.2 · flakytest 2026.0b1
Peak memory
652 MB
4 workers together

Where the time goes

Test time by category
  • Password hashing16.28 s
  • Migrations14.16 s
  • Libraries9.31 s
  • Database8.49 s
  • DB schema2.79 s
  • Imports1.01 s
  • Templates979 ms
  • Mocking855 ms
  • pytest264 ms
  • Unsampled250 ms
  • Factories188 ms
  • App code65 ms
  • Deep copies41 ms
  • Cache13 ms
  • Waiting12 ms
  • Test code12 ms
  • Network11 ms
  • Logging10 ms
  • Serialization5 ms
  • Fixture loading2 ms

Session timeline

Other
2 ms
Tests
54.94 s
Startup
4.98 s
Collection
1.53 s
Test phases
Setup 16.51 s Call 37.09 s Teardown 1.15 s

Fix next

Ranked by the time each fix saves per run
1

Use a fast password hasher in tests

16.3s (30% of test time) is spent hashing passwords. Slow hashing protects real passwords; in tests it only burns CPU.

High Password hashing
15.47 s per run
Fix: In your test settings set PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"] (currently PBKDF2PasswordHasher). Read the guide
Details

Only change the hasher in test settings. Tests that assert on a specific hash format need updating.

Where:

  • confs/tests.py:1044 TestCreateConference.setUp · 2.91 s
  • confs/tests.py:1176 TestEditConference.setUp · 2.25 s
  • confs/tests.py:1177 TestEditConference.setUp · 2.23 s
  • confs/tests.py:1175 TestEditConference.setUp · 2.18 s
  • confs/tests.py:1371 TestApproveConference.setUp · 1.65 s
  • confs/tests.py:1372 TestApproveConference.setUp · 1.63 s
  • confs/tests.py:1316 TestConferenceApprovalVisibility.setUp · 1.03 s
  • confs/tests.py:1317 TestConferenceApprovalVisibility.setUp · 1.03 s
  • confs/tests.py:1296 TestUnapproveConference.setUp · 403 ms
  • confs/tests.py:1295 TestUnapproveConference.setUp · 401 ms

Most affected tests:

  • confs/tests.py::TestEditConference::test_edit_does_not_change_slug
  • confs/tests.py::TestEditConference::test_other_user_forbidden_on_approved_conference
  • confs/tests.py::TestEditConference::test_other_user_forbidden
  • confs/tests.py::TestEditConference::test_owner_can_edit
  • confs/tests.py::TestEditConference::test_owner_can_edit_after_approval
  • confs/tests.py::TestApproveConference::test_staff_approves
  • confs/tests.py::TestEditConference::test_owner_can_view_edit_form
  • confs/tests.py::TestApproveConference::test_non_staff_forbidden

Documentation

2

Use plain static file storage in tests

Static file storage/manifest handling costs 13.7s.

High App code
13.73 s per run
Fix: In test settings use STORAGES["staticfiles"] = {"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage"} so templates don't need a manifest. Read the guide
Details

Where:

  • starter_packs/views.py:862 share_starter_pack · 413 ms
  • accounts/views.py:425 index · 397 ms
  • starter_packs/tests.py:736 TestShareStarterPack.test_non_discoverable_accounts · 324 ms
  • confs/tests.py:875 TestConferencePage.test_conference_with_utc_with_date_no_posts · 276 ms
  • starter_packs/tests.py:125 TestCreateStarterPack.test_form_error · 264 ms
  • accounts/tests.py:536 TestStaticPages.test_developers_on_mastodon · 254 ms
  • starter_packs/tests.py:1068 TestPinAccountInStarterPack.test_pin_limit · 251 ms
  • confs/tests.py:1153 TestCreateConference.test_rejects_more_than_three_icons · 249 ms
  • starter_packs/tests.py:841 TestShareStarterPack.test_api_formats · 225 ms
  • confs/tests.py:193 TestMigratedLegacyConferences.test_djangoconus_date_redirects · 221 ms

Most affected tests:

  • starter_packs/tests.py::TestShareStarterPack::test_non_discoverable_accounts
  • confs/tests.py::TestConferencePage::test_conference_with_utc_with_date_no_posts
  • starter_packs/tests.py::TestCreateStarterPack::test_form_error
  • accounts/tests.py::TestStaticPages::test_developers_on_mastodon
  • starter_packs/tests.py::TestPinAccountInStarterPack::test_pin_limit
  • confs/tests.py::TestCreateConference::test_rejects_more_than_three_icons
  • starter_packs/tests.py::TestEditStarterPackAccounts::test_not_owned_starter_pack
  • confs/tests.py::TestMigratedLegacyConferences::test_djangoconus_date_redirects
3

Stop re-running migrations on every test run

Migrations take 14.2s per run, before the first test can start.

High Migrations
12.75 s per run
Fix: Run with --reuse-db (add it to addopts in pytest.ini/pyproject) so the test database survives between runs; pass --create-db when migrations change. If no test depends on data migrations, --nomigrations builds the schema straight from the models, which is faster still. Read the guide
Details

CI should still build the database from scratch (no --reuse-db) so broken migrations are caught.

Where:

  • confs/tests.py:432 TestLegacyConferenceDataMigration._migrate · 640 ms
  • confs/migrations/0031_seed_conference_tags.py:14 seed_conference_tags · 355 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:388 _get_or_create_conference · 103 ms
  • confs/tests.py:412 TestLegacyConferenceDataMigration._leaf_targets · 78 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:214 _pk_batches · 48 ms
  • confs/tests.py:430 TestLegacyConferenceDataMigration._migrate · 43 ms
  • confs/tests.py:431 TestLegacyConferenceDataMigration._migrate · 33 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:398 migrate_legacy_pair · 29 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:325 _refresh_account_counts · 27 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:368 _attach_lookups_and_tags · 21 ms

Most affected tests:

  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • confs/tests.py::TestSyncAnnouncements::test_is_idempotent_and_refreshes_unposted_content
  • accounts/tests.py::TestAccountIndexRobots::test_two_facets_are_noindex
  • confs/tests.py::TestMigratedLegacyConferences::test_fwd50_date_redirects
  • confs/tests.py::TestLegacyConferenceDataMigration::test_copies_overlapping_legacy_rows_without_clobbering_existing_data
  • confs/tests.py::TestLegacyConferenceDataMigration::test_drops_legacy_tables_when_uniques_are_mysql_style_indexes

Documentation

4

Create shared test data in setUpTestData instead of setUp

setUp() runs before every test and takes 15.9s in total (password hashing 15.7s, db 159ms, factories 6ms) in 7 classes: TestApproveConference (6 tests), TestFollowStarterPack (3 tests), TestPostAnnouncements (6 tests), TestCreateConference (10 tests).

High Database
11.12 s per run
Fix: Move object creation that tests only read from setUp() into `@classmethod def setUpTestData(cls)`: it runs once per class and each test still sees the original rows (TestCase rolls back to a savepoint). Read the guide
Details

Since Django 3.2 attributes assigned in setUpTestData are deep-copied per test, so in-memory changes don't leak between tests. Keep objects a test modifies in the database (or re-fetches) as before.

Where:

  • confs/tests.py:1044 TestCreateConference.setUp · 2.92 s
  • confs/tests.py:1176 TestEditConference.setUp · 2.26 s
  • confs/tests.py:1177 TestEditConference.setUp · 2.25 s
  • confs/tests.py:1175 TestEditConference.setUp · 2.19 s
  • confs/tests.py:1371 TestApproveConference.setUp · 1.66 s
  • confs/tests.py:1372 TestApproveConference.setUp · 1.64 s
  • confs/tests.py:1316 TestConferenceApprovalVisibility.setUp · 1.03 s
  • confs/tests.py:1317 TestConferenceApprovalVisibility.setUp · 1.03 s
  • confs/tests.py:1296 TestUnapproveConference.setUp · 405 ms
  • confs/tests.py:1295 TestUnapproveConference.setUp · 404 ms

Most affected tests:

  • confs/tests.py::TestEditConference::test_edit_does_not_change_slug
  • confs/tests.py::TestEditConference::test_other_user_forbidden_on_approved_conference
  • confs/tests.py::TestEditConference::test_other_user_forbidden
  • confs/tests.py::TestEditConference::test_owner_can_edit
  • confs/tests.py::TestEditConference::test_owner_can_edit_after_approval
  • confs/tests.py::TestApproveConference::test_staff_approves
  • confs/tests.py::TestEditConference::test_owner_can_view_edit_form
  • confs/tests.py::TestApproveConference::test_non_staff_forbidden

Documentation

5

Repeated queries (N+1) in the code under test

10 tests run the same query 10+ times, e.g. 45x in test_fwd50_date_redirects. N+1 queries slow the tests and production alike.

High Database
6.70 s per run
Fix: Django: fetch related rows in one query with select_related() for foreign keys and prefetch_related() for reverse/many-to-many relations, then lock the count in with assertNumQueries (or pytest-django's django_assert_num_queries). Read the guide
Details

This changes application code, so it speeds up production too; the tests stay as they are.

  • 45x in test_fwd50_date_redirects: SELECT "confs_conferencetag"."id", "confs_conferencetag"."name", "confs_conferencetag"."slug", "confs_conferencetag"."icon" FROM "confs_conferencetag" WHERE "confs_conferencetag"."slug" = %s LIMIT ? FOR UPDATE
  • 45x in test_invalid_selected_instance: SELECT "confs_conferencetag"."id", "confs_conferencetag"."name", "confs_conferencetag"."slug", "confs_conferencetag"."icon" FROM "confs_conferencetag" WHERE "confs_conferencetag"."slug" = %s LIMIT ? FOR UPDATE
  • 45x in test_two_facets_are_noindex: SELECT "confs_conferencetag"."id", "confs_conferencetag"."name", "confs_conferencetag"."slug", "confs_conferencetag"."icon" FROM "confs_conferencetag" WHERE "confs_conferencetag"."slug" = %s LIMIT ? FOR UPDATE
  • 45x in test_is_idempotent_and_refreshes_unposted_content: SELECT "confs_conferencetag"."id", "confs_conferencetag"."name", "confs_conferencetag"."slug", "confs_conferencetag"."icon" FROM "confs_conferencetag" WHERE "confs_conferencetag"."slug" = %s LIMIT ? FOR UPDATE
  • 44x in test_posts_from_yesterday_are_updated: SELECT COUNT(*) AS "__count" FROM "accounts_accountlookup" WHERE UPPER("accounts_accountlookup"."language"::text) LIKE UPPER(%s)

Most affected tests:

  • confs/tests.py::TestMigratedLegacyConferences::test_fwd50_date_redirects
  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • accounts/tests.py::TestAccountIndexRobots::test_two_facets_are_noindex
  • confs/tests.py::TestSyncAnnouncements::test_is_idempotent_and_refreshes_unposted_content
  • stats/tests.py::TestStats::test_posts_from_yesterday_are_updated
  • stats/tests.py::TestStats::test_store_daily_stats
  • stats/tests.py::TestStats::test_store_daily_stats_with_accounts
  • accounts/tests.py::TestInstanceIndexingBridgy::test_follows_redirect_and_coerces_null_version

Documentation

6

Disable django-debug-toolbar in tests

django-debug-toolbar is installed in the test settings and costs 5.6s.

High App code
5.62 s per run
Fix: Only add debug_toolbar to INSTALLED_APPS and MIDDLEWARE when not testing (e.g. `if DEBUG and not TESTING:`). Read the guide
Details

Where:

  • starter_packs/views.py:862 share_starter_pack · 413 ms
  • accounts/views.py:425 index · 397 ms
  • accounts/tests.py:536 TestStaticPages.test_developers_on_mastodon · 240 ms
  • accounts/views.py:28 CountlessPage.__init__ · 218 ms
  • starter_packs/views.py:185 starter_packs · 209 ms
  • starter_packs/views.py:60 get_editable_pack · 164 ms
  • accounts/views.py:295 index · 142 ms
  • accounts/templatetags/account_extras.py:36 instances_datalist · 121 ms
  • confs/views.py:509 create_conference · 114 ms
  • starter_packs/splash_images.py:77 get_splash_image_accounts · 113 ms

Most affected tests:

  • accounts/tests.py::TestStaticPages::test_developers_on_mastodon
  • accounts/tests.py::TestAccountIndexRobots::test_two_facets_are_noindex
  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • confs/tests.py::TestCreateConference::test_form_renders_for_authenticated_user
  • confs/tests.py::TestCreateConference::test_advanced_days_are_saved
  • accounts/tests.py::TestAccountIndexRobots::test_single_facet_is_indexable
  • fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_forms_work_after_csrf_bootstrap
  • starter_packs/tests.py::TestStarterPacks::test_index_page

Documentation

7

Make the test database server skip durability work

Tests spend 25.4s (46%) in the database. Test databases don't need to survive a crash, so the server can skip flushing to disk.

Medium Database
5.09 s per run
Fix: For a PostgreSQL test server (Docker/CI service) start it with -c fsync=off -c synchronous_commit=off -c full_page_writes=off, and put its data directory on tmpfs; for MySQL use --innodb-flush-log-at-trx-commit=0 --skip-log-bin. Never on a server with data you need. Read the guide
Details

Only affects crash safety of the throwaway test server; query behaviour is identical.

Where:

  • confs/tests.py:432 TestLegacyConferenceDataMigration._migrate · 640 ms
  • starter_packs/tests.py:397 TestToggleStarterPackAccount.test_toggle_after_limit · 448 ms
  • confs/migrations/0031_seed_conference_tags.py:14 seed_conference_tags · 355 ms
  • starter_packs/views.py:862 share_starter_pack · 274 ms
  • accounts/views.py:28 CountlessPage.__init__ · 218 ms
  • starter_packs/views.py:60 get_editable_pack · 164 ms
  • stats/models.py:20 store_daily_stats · 144 ms
  • accounts/views.py:295 index · 142 ms
  • stats/models.py:12 store_daily_stats · 136 ms
  • accounts/templatetags/account_extras.py:36 instances_datalist · 121 ms

Most affected tests:

  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • confs/tests.py::TestSyncAnnouncements::test_is_idempotent_and_refreshes_unposted_content
  • accounts/tests.py::TestAccountIndexRobots::test_two_facets_are_noindex
  • confs/tests.py::TestMigratedLegacyConferences::test_fwd50_date_redirects
  • confs/tests.py::TestLegacyConferenceDataMigration::test_copies_overlapping_legacy_rows_without_clobbering_existing_data
  • confs/tests.py::TestLegacyConferenceDataMigration::test_drops_legacy_tables_when_uniques_are_mysql_style_indexes
  • starter_packs/tests.py::TestToggleStarterPackAccount::test_toggle_after_limit
  • mastodon_auth/tests.py::MastodonRatelimitHeaderTests::test_creates_session_with_hook_when_none_given

Documentation

8

pytest-xdist workers finish at very different times

The busiest worker ran 19.0s of tests, the least busy 11.6s.

Medium Parallelism
3.71 s per run
Fix: Use --dist worksteal (pytest-xdist 3.2+) so idle workers take tests from busy ones; if you use --dist loadscope/loadfile, split the biggest classes or modules. Read the guide
Details

Documentation

9

pytest takes a long time before the first test runs

Startup takes 5.0s and collection 1.5s on every run, even when you only run one test.

Medium Imports
2.60 s per run
Fix: Set testpaths and norecursedirs (node_modules, .venv, build, docs) so pytest doesn't walk unrelated directories; move heavy imports out of module level in test files and conftest.py into fixtures; check `python -X importtime -m pytest --collect-only -q` for the slowest imports. Read the guide
Details
  • mastodon_auth/tests.py (603ms)
  • starter_packs/tests.py (221ms)
  • accounts/tests.py (52ms)
  • confs/tests.py (10ms)
  • posts/tests.py (2ms)
  • fedidevs/settings.py (970ms)
  • debug_toolbar/panels/sql/__init__.py (793ms)
  • starter_packs/admin.py (677ms)

Documentation

10

Run migrations once, not once per worker

Each of the 4 pytest-xdist workers builds its own test database by running every migration: 15.1s in total, about 3.8s per worker. 11.3s of it repeats work another worker already did.

Medium Migrations
11.30 s per run
Fix: Migrate once and copy the database: let one worker build the test database and have the others create theirs from it as a template (on PostgreSQL, CREATE DATABASE ... TEMPLATE ..., which copies files instead of running migrations). Django's own test runner already does this with --parallel. Read the guide
Details

Every copy is built by the same migrations, so a broken migration still fails the run.

  • {'total': 15.062, 'builds': 4, 'workers': 4, 'per_build': 3.765}

Documentation

Tests

1–200 of 310, slowest first · click a column to sort this page
Test Outcome Duration Setup Call Teardown Mostly Queries
accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
passed 4.18 s 4.01 s 171 ms 0.85 ms Migrations 1119
295 repeated
confs/tests.py::TestSyncAnnouncements::test_is_idempotent_and_refreshes_unposted_content
passed 3.93 s 3.85 s 75 ms 0.87 ms Migrations 1075
262 repeated
accounts/tests.py::TestAccountIndexRobots::test_two_facets_are_noindex
passed 3.88 s 3.65 s 227 ms 0.90 ms Migrations 1065
262 repeated
confs/tests.py::TestMigratedLegacyConferences::test_fwd50_date_redirects
passed 3.81 s 3.65 s 157 ms 0.91 ms Migrations 1062
262 repeated
confs/tests.py::TestEditConference::test_edit_does_not_change_slug
passed 1.01 s 16 ms 996 ms 0.23 ms Password hashing 31
3 repeated
confs/tests.py::TestEditConference::test_other_user_forbidden
passed 994 ms 0.59 ms 994 ms 0.22 ms Password hashing 27
3 repeated
confs/tests.py::TestEditConference::test_other_user_forbidden_on_approved_conference
passed 980 ms 0.58 ms 979 ms 0.27 ms Password hashing 31
6 repeated
confs/tests.py::TestConferenceOgImage::test_management_command_renders_missing_and_skips_current
passed 910 ms 11 ms 898 ms 0.28 ms Libraries 17
10 repeated
confs/tests.py::TestLegacyConferenceDataMigration::test_copies_overlapping_legacy_rows_without_clobbering_existing_data
passed 862 ms 1 ms 861 ms 0.33 ms Migrations 284
72 repeated
confs/tests.py::TestEditConference::test_owner_can_edit
passed 790 ms 0.92 ms 789 ms 0.23 ms Password hashing 31
3 repeated
confs/tests.py::TestApproveConference::test_staff_approves
passed 744 ms 0.64 ms 742 ms 0.83 ms Password hashing 28
confs/tests.py::TestEditConference::test_owner_can_edit_after_approval
passed 735 ms 0.61 ms 735 ms 0.24 ms Password hashing 32
3 repeated
confs/tests.py::TestApproveConference::test_non_staff_forbidden
passed 690 ms 0.63 ms 689 ms 0.22 ms Password hashing 26
confs/tests.py::TestApproveConference::test_get_not_allowed
passed 681 ms 11 ms 670 ms 0.23 ms Password hashing 25
confs/tests.py::TestEditConference::test_owner_can_view_edit_form
passed 675 ms 0.51 ms 674 ms 0.17 ms Password hashing 30
3 repeated
confs/tests.py::TestApproveConference::test_staff_sees_approve_button_on_detail
passed 651 ms 0.61 ms 649 ms 1 ms Password hashing 31
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_authenticated_html_is_private_and_keeps_csrf_header
passed 650 ms 1 ms 649 ms 0.24 ms Password hashing 31
3 repeated
confs/tests.py::TestEditConference::test_owner_sees_edit_button_on_approved_detail
passed 632 ms 0.47 ms 631 ms 0.17 ms Password hashing 33
3 repeated
confs/tests.py::TestEditConference::test_staff_can_edit
passed 629 ms 0.45 ms 628 ms 0.70 ms Password hashing 31
3 repeated
starter_packs/tests.py::TestToggleStarterPackAccount::test_toggle_after_limit
passed 619 ms 0.60 ms 613 ms 5 ms Database 499
463 repeated
confs/tests.py::TestEditConference::test_requires_login
passed 609 ms 0.43 ms 608 ms 0.18 ms Password hashing 9
3 repeated
confs/tests.py::TestCreateConference::test_rejects_more_than_three_icons
passed 562 ms 0.60 ms 561 ms 0.27 ms Password hashing 31
4 repeated
confs/tests.py::TestLegacyConferenceDataMigration::test_drops_legacy_tables_when_uniques_are_mysql_style_indexes
passed 555 ms 2 ms 553 ms 0.34 ms Migrations 228
68 repeated
confs/tests.py::TestCreateConference::test_form_renders_for_authenticated_user
passed 515 ms 2 ms 513 ms 0.30 ms Password hashing 26
confs/tests.py::TestApproveConference::test_anonymous_sees_pending_banner_without_button
passed 505 ms 0.48 ms 433 ms 71 ms Password hashing 15
confs/tests.py::TestCreateConference::test_advanced_days_are_saved
passed 471 ms 19 ms 451 ms 0.69 ms Password hashing 27
confs/tests.py::TestConferenceApprovalVisibility::test_anonymous_sees_only_approved
passed 462 ms 6 ms 455 ms 0.19 ms Password hashing 18
3 repeated
confs/tests.py::TestUnapproveConference::test_non_staff_forbidden
passed 439 ms 6 ms 433 ms 0.19 ms Password hashing 26
confs/tests.py::TestConferenceApprovalVisibility::test_owner_sees_own_pending
passed 438 ms 0.47 ms 438 ms 0.16 ms Password hashing 35
3 repeated
confs/tests.py::TestConferenceApprovalVisibility::test_other_user_does_not_see_pending
passed 436 ms 0.49 ms 436 ms 0.20 ms Password hashing 35
3 repeated
confs/tests.py::TestConferenceApprovalVisibility::test_conference_tag_icon_rendered_in_list
passed 435 ms 0.46 ms 434 ms 0.17 ms Password hashing 20
3 repeated
confs/tests.py::TestUnapproveConference::test_staff_unapproves
passed 432 ms 0.49 ms 431 ms 0.62 ms Password hashing 28
confs/tests.py::TestConferenceApprovalVisibility::test_pending_detail_page_is_viewable
passed 430 ms 0.46 ms 429 ms 0.67 ms Password hashing 15
confs/tests.py::TestApproveConference::test_anonymous_redirected_to_login
passed 430 ms 6 ms 424 ms 0.20 ms Password hashing 9
mastodon_auth/tests.py::MastodonRatelimitHeaderTests::test_missing_ratelimit_reset_header_does_not_break_requests
passed 418 ms 0.73 ms 33 ms 384 ms DB schema 1
confs/tests.py::TestCreateConference::test_mastodon_handle_is_converted_to_url
passed 417 ms 0.84 ms 416 ms 0.23 ms Password hashing 27
mastodon_auth/tests.py::MastodonRatelimitHeaderTests::test_creates_session_with_hook_when_none_given
passed 412 ms 0.84 ms 0.68 ms 410 ms DB schema 1
starter_packs/tests.py::TestShareStarterPack::test_non_discoverable_accounts
passed 366 ms 0.94 ms 364 ms 0.32 ms Libraries 19
5 repeated
confs/tests.py::TestCreateConference::test_rejects_end_date_before_start
passed 357 ms 0.64 ms 356 ms 0.23 ms Password hashing 26
confs/tests.py::TestCreateConference::test_submit_creates_pending_conference
passed 348 ms 0.62 ms 344 ms 3 ms Password hashing 28
confs/tests.py::TestCreateConference::test_slug_collision_is_resolved
passed 331 ms 0.69 ms 330 ms 0.25 ms Password hashing 29
3 repeated
confs/tests.py::TestCreateConference::test_mastodon_url_is_kept
passed 315 ms 0.62 ms 314 ms 0.21 ms Password hashing 27
confs/tests.py::TestConferencePage::test_conference_with_utc_with_date_no_posts
passed 313 ms 1 ms 312 ms 0.27 ms Libraries 12
confs/tests.py::TestCreateConference::test_selected_icons_are_saved
passed 302 ms 0.58 ms 301 ms 0.38 ms Password hashing 31
starter_packs/tests.py::TestPinAccountInStarterPack::test_pin_limit
passed 301 ms 0.58 ms 300 ms 0.35 ms Libraries 47
20 repeated
starter_packs/tests.py::TestCreateStarterPack::test_form_error
passed 292 ms 0.62 ms 290 ms 0.83 ms Libraries 25
confs/tests.py::TestCreateConference::test_requires_login
passed 291 ms 0.89 ms 290 ms 0.23 ms Password hashing 6
accounts/tests.py::TestStaticPages::test_developers_on_mastodon
passed 290 ms 10 ms 280 ms 0.23 ms Libraries 8
starter_packs/tests.py::TestEditStarterPackAccounts::test_not_owned_starter_pack
passed 245 ms 0.75 ms 243 ms 0.90 ms Libraries 24
confs/tests.py::TestMigratedLegacyConferences::test_djangoconus_date_redirects
passed 223 ms 0.66 ms 223 ms 0.26 ms Libraries 5
accounts/tests.py::TestInstanceIndexingBridgy::test_follows_redirect_and_coerces_null_version
passed 204 ms 1 ms 203 ms 0.29 ms DB schema 73
62 repeated
stats/tests.py::TestStats::test_posts_from_yesterday_are_updated
passed 198 ms 15 ms 182 ms 0.24 ms Database 108
91 repeated
starter_packs/tests.py::TestOwnerManagement::test_accept_blocked_when_pack_at_max
passed 189 ms 32 ms 157 ms 0.30 ms Database 84
54 repeated
starter_packs/tests.py::TestShareStarterPack::test_order_by_4___newest_account____0__1__2__3__4__
passed 158 ms 46 ms 111 ms 0.23 ms Database 42
22 repeated
confs/tests.py::TestConferenceOgImage::test_render_writes_file_and_updates_fields
passed 154 ms 0.73 ms 153 ms 0.28 ms Libraries 8
starter_packs/tests.py::TestStarterPacks::test_index_page
passed 151 ms 35 ms 116 ms 0.24 ms Templates 19
11 repeated
starter_packs/tests.py::TestFollowStarterPack::test_instance_unreachable
passed 151 ms 38 ms 112 ms 2 ms Database 43
6 repeated
starter_packs/tests.py::TestFollowStarterPack::test_revoked_token_logs_out
passed 147 ms 47 ms 100 ms 0.37 ms Database 43
3 repeated
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_other_pages_keep_unknown_query_params
passed 147 ms 0.97 ms 146 ms 0.40 ms Libraries 10
3 repeated
starter_packs/tests.py::TestOwnerManagement::test_invite_blocked_at_max
passed 140 ms 0.97 ms 139 ms 0.29 ms Database 77
45 repeated
accounts/tests.py::TestSitemap::test_sitemap
passed 136 ms 27 ms 104 ms 5 ms Libraries 14
5 repeated
accounts/tests.py::TestWebfingerBackfill::test_backfills_only_live_starter_pack_accounts_and_authors
passed 133 ms 62 ms 65 ms 7 ms Database 34
22 repeated
confs/tests.py::TestMigratedLegacyConferences::test_fwd50_page
passed 131 ms 0.77 ms 130 ms 0.24 ms Libraries 11
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_forms_work_after_csrf_bootstrap
passed 127 ms 11 ms 116 ms 0.28 ms Libraries 8
starter_packs/tests.py::TestPinAccountInStarterPack::test_no_pin_button_on_share_page
passed 125 ms 30 ms 95 ms 0.25 ms Database 41
3 repeated
confs/tests.py::TestConferencesPage::test_conferences_page
passed 123 ms 12 ms 110 ms 2 ms Libraries 12
3 repeated
starter_packs/tests.py::TestShareStarterPack::test_api_formats_2___application_activity_json____application_activity_json__
passed 121 ms 59 ms 62 ms 0.25 ms Database 32
17 repeated
accounts/tests.py::TestAccountIndexRobots::test_single_facet_is_indexable
passed 119 ms 0.55 ms 114 ms 4 ms Database 20
15 repeated
starter_packs/tests.py::TestShareStarterPack::test_api_activitypub
passed 114 ms 44 ms 70 ms 0.30 ms Database 34
17 repeated
starter_packs/tests.py::TestPinAccountInStarterPack::test_removing_account_swaps_pin_button_to_disabled
passed 113 ms 41 ms 72 ms 0.32 ms Database 46
3 repeated
starter_packs/tests.py::TestOwnerManagement::test_invite_blocked_when_owners_plus_invitations_at_max
passed 112 ms 0.99 ms 110 ms 0.53 ms Libraries 76
45 repeated
starter_packs/tests.py::TestOwnerManagement::test_invite_without_account_access_is_rejected
passed 112 ms 36 ms 75 ms 0.25 ms Database 38
3 repeated
starter_packs/tests.py::TestToggleStarterPackAccount::test_remove_account
passed 112 ms 0.64 ms 111 ms 0.26 ms Database 37
confs/tests.py::TestConferencePage::test_conference_pacific_with_no_filter
passed 111 ms 32 ms 79 ms 0.28 ms Database 20
confs/tests.py::TestMigratedLegacyConferences::test_migrated_conference_shows_linked_posts
passed 108 ms 0.65 ms 99 ms 8 ms Database 19
starter_packs/tests.py::TestToggleStarterPackAccount::test_add_account
passed 107 ms 25 ms 81 ms 0.56 ms Database 42
starter_packs/tests.py::TestPinAccountInStarterPack::test_readding_account_swaps_pin_button_to_enabled_unpinned
passed 105 ms 3 ms 97 ms 5 ms Database 50
14 repeated
starter_packs/tests.py::TestAddAccountsSearch::test_username_search_shows_checked_for_existing_account
passed 105 ms 41 ms 64 ms 0.25 ms Database 40
posts/tests.py::TestDjangoConUSLegacyRedirect::test_djangoconus_date_redirects
passed 105 ms 16 ms 88 ms 1 ms Libraries 5
stats/tests.py::TestStats::test_store_daily_stats
passed 103 ms 0.64 ms 102 ms 0.23 ms Database 102
88 repeated
starter_packs/tests.py::TestShareStarterPack::test_share_starter_pack
passed 101 ms 0.98 ms 100 ms 0.30 ms Libraries 18
6 repeated
starter_packs/tests.py::TestRemoteFollowStarterPack::test_missing_handle
passed 99 ms 14 ms 83 ms 1 ms Database 14
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_rejects_too_many_languages
passed 98 ms 25 ms 73 ms 0.24 ms Database 29
starter_packs/tests.py::TestPinAccountInStarterPack::test_toggle_pin_and_unpin
passed 98 ms 0.60 ms 97 ms 0.24 ms Libraries 33
3 repeated
starter_packs/tests.py::TestOwnerManagement::test_owner_handles_shown_on_list_card
passed 97 ms 0.69 ms 96 ms 0.30 ms Database 17
starter_packs/tests.py::TestShareStarterPack::test_logged_in
passed 97 ms 0.58 ms 95 ms 0.58 ms Libraries 36
7 repeated
starter_packs/tests.py::TestShareStarterPack::test_order_by_recently_added_ignores_other_packs
passed 96 ms 0.64 ms 95 ms 0.35 ms Database 24
5 repeated
starter_packs/tests.py::TestOwnerManagement::test_pending_invitation_shown_on_starter_packs_page
passed 95 ms 5 ms 88 ms 1 ms Templates 28
starter_packs/tests.py::TestOwnerManagement::test_invite_creates_pending_invitation_not_owner
passed 95 ms 0.72 ms 94 ms 0.33 ms Libraries 33
accounts/tests.py::TestAccountIndexRobots::test_unfaceted_root_index_is_indexable
passed 93 ms 0.70 ms 88 ms 4 ms Database 8
accounts/tests.py::TestSelectedInstance::test_selected_instance_https_truncate
passed 93 ms 0.76 ms 92 ms 0.22 ms Database 13
starter_packs/tests.py::TestEditStarterPack::test_edit_shows_selected_uncommon_language_expanded
passed 92 ms 27 ms 65 ms 0.23 ms Database 32
starter_packs/tests.py::TestShareStarterPack::test_languages_hidden_when_unset
passed 91 ms 0.69 ms 90 ms 0.23 ms Libraries 12
starter_packs/tests.py::TestEditStarterPack::test_edit_starter_packs
passed 91 ms 0.60 ms 89 ms 0.74 ms Libraries 25
starter_packs/tests.py::TestEditStarterPack::test_edit_starter_pack_post
passed 90 ms 2 ms 88 ms 0.50 ms Database 34
9 repeated
starter_packs/tests.py::TestEditStarterPackAccounts::test_edit_starter_packs
passed 90 ms 24 ms 65 ms 0.88 ms Database 34
starter_packs/tests.py::TestRemoteFollowStarterPack::test_share_page_hides_remote_follow_form_when_logged_in
passed 90 ms 0.65 ms 89 ms 0.22 ms Database 33
starter_packs/tests.py::TestFollowStarterPack::test_success
passed 90 ms 0.66 ms 88 ms 0.95 ms Database 39
6 repeated
starter_packs/tests.py::TestPinAccountInStarterPack::test_pinned_account_first_for_every_sort_option
passed 88 ms 0.54 ms 87 ms 0.26 ms Libraries 13
starter_packs/tests.py::TestEditStarterPack::test_edit_starter_pack_languages
passed 86 ms 0.77 ms 85 ms 0.27 ms Libraries 26
starter_packs/tests.py::TestShareStarterPack::test_order_by_htmx_swaps_account_list
passed 85 ms 0.49 ms 85 ms 0.24 ms Libraries 19
5 repeated
fedidevs/tests.py::TestPotatoqDashboard::test_actions_skip_django_csrf_but_need_dashboard_header
passed 85 ms 24 ms 60 ms 0.25 ms Database 26
4 repeated
accounts/tests.py::TestSelectedInstance::test_selected_instance_through_session
passed 84 ms 0.57 ms 83 ms 0.32 ms Templates 17
starter_packs/tests.py::TestOwnerManagement::test_only_invited_user_can_accept
passed 84 ms 0.57 ms 83 ms 0.24 ms Database 31
starter_packs/tests.py::TestRemoteFollowStarterPack::test_deleted_pack_404
passed 83 ms 16 ms 67 ms 0.24 ms Libraries 10
confs/tests.py::TestConferencePage::test_conference_with_pacific_with_date
passed 81 ms 0.82 ms 80 ms 0.23 ms Libraries 16
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_post_without_csrf_is_rejected
passed 81 ms 3 ms 77 ms 0.26 ms Libraries 7
mastodon_auth/tests.py::MastodonLoginViewTests::test_pleroma_login_forces_consent_flow
passed 80 ms 0.58 ms 75 ms 4 ms Mocking 9
starter_packs/tests.py::TestDeleteStarterPack::test_delete
passed 80 ms 22 ms 58 ms 0.24 ms Libraries 31
accounts/tests.py::TestAccountIndexRobots::test_paginated_single_facet_is_noindex
passed 80 ms 0.87 ms 79 ms 0.21 ms Libraries 8
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_html_is_publicly_cacheable_without_csrf_cookie
passed 80 ms 0.71 ms 78 ms 0.58 ms Libraries 7
stats/tests.py::TestStats::test_store_daily_stats_with_accounts
passed 79 ms 0.57 ms 77 ms 2 ms Database 104
88 repeated
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack
passed 79 ms 0.73 ms 78 ms 0.35 ms Database 38
6 repeated
accounts/tests.py::TestAccountIndexRobots::test_canonical_page_is_indexable
passed 79 ms 8 ms 71 ms 0.23 ms Libraries 8
starter_packs/tests.py::TestEditStarterPackAccounts::test_not_logged_in
passed 79 ms 27 ms 52 ms 0.24 ms Libraries 13
starter_packs/tests.py::TestShareStarterPack::test_order_by_3___last_active____4__3__2__1__0__
passed 79 ms 1 ms 75 ms 2 ms Database 20
5 repeated
starter_packs/tests.py::TestOwnerManagement::test_search_finds_logged_in_user
passed 77 ms 0.90 ms 75 ms 1 ms Libraries 28
mastodon_auth/tests.py::MastodonLoginFormTests::test_cleans_instance_to_ascii_hostname
passed 77 ms 10 ms 67 ms 0.37 ms Imports 5
starter_packs/tests.py::TestOwnerManagement::test_decline_invitation_removes_it
passed 77 ms 0.69 ms 76 ms 0.25 ms Database 27
starter_packs/tests.py::TestCreateStarterPack::test_create_page
passed 77 ms 21 ms 56 ms 0.24 ms Database 11
starter_packs/tests.py::TestShareStarterPack::test_order_by_5___alphabetical____4__3__2__1__0__
passed 75 ms 0.81 ms 74 ms 0.45 ms Libraries 20
5 repeated
starter_packs/tests.py::TestOwnerManagement::test_cannot_remove_last_owner
passed 74 ms 2 ms 72 ms 0.24 ms Database 28
3 repeated
accounts/tests.py::TestSelectedInstance::test_unselected_instance
passed 74 ms 0.69 ms 69 ms 5 ms Templates 20
posts/tests.py::TestDjangoConUSLegacyRedirect::test_djangoconus_redirects_to_conference_page
passed 74 ms 3 ms 68 ms 3 ms Libraries 5
starter_packs/tests.py::TestRemoteFollowStarterPack::test_redirects_to_subscribe_url
passed 74 ms 0.59 ms 73 ms 0.29 ms Mocking 6
starter_packs/tests.py::TestPinAccountInStarterPack::test_unpinned_pack_orders_by_followers
passed 74 ms 0.49 ms 72 ms 1 ms Database 12
starter_packs/tests.py::TestOwnerManagement::test_accept_invitation_makes_owner
passed 73 ms 0.63 ms 72 ms 0.31 ms Libraries 30
starter_packs/tests.py::TestShareStarterPack::test_order_by_6___not_a_valid_option____4__3__2__1__0__
passed 73 ms 0.78 ms 72 ms 0.21 ms Database 20
5 repeated
accounts/tests.py::TestSelectedInstance::test_selected_instance
passed 73 ms 0.95 ms 72 ms 0.45 ms Libraries 13
starter_packs/tests.py::TestOwnerManagement::test_invite_twice_does_not_duplicate
passed 73 ms 0.62 ms 72 ms 0.30 ms Database 40
3 repeated
starter_packs/tests.py::TestShareStarterPack::test_api_formats_6___text_html____text_html__
passed 73 ms 0.63 ms 72 ms 0.23 ms Libraries 12
starter_packs/tests.py::TestRemoteFollowStarterPack::test_share_page_shows_remote_follow_form_when_logged_out
passed 73 ms 0.72 ms 71 ms 0.54 ms Database 11
mastodon_auth/tests.py::MastodonLoginViewTests::test_invalid_instance_redirects_before_http_request
passed 72 ms 0.85 ms 71 ms 0.24 ms Mocking 5
starter_packs/tests.py::TestOwnerManagement::test_added_owner_who_is_not_creator_can_edit
passed 71 ms 0.58 ms 70 ms 0.53 ms Libraries 26
starter_packs/tests.py::TestShareStarterPack::test_order_by_1___followers____4__3__2__1__0__
passed 70 ms 0.66 ms 69 ms 0.24 ms Libraries 20
5 repeated
fedidevs/tests.py::TestPotatoqDashboard::test_inactive_staff_is_treated_as_logged_out
passed 70 ms 1 ms 68 ms 0.35 ms Libraries 22
accounts/tests.py::TestSelectedInstance::test_selected_instance_slash_truncate
passed 69 ms 0.64 ms 68 ms 0.21 ms Libraries 13
starter_packs/tests.py::TestOwnerManagement::test_search_excludes_existing_owners
passed 69 ms 1 ms 68 ms 0.34 ms Database 29
starter_packs/tests.py::TestOwnerManagement::test_owner_cancels_invitation
passed 69 ms 0.68 ms 68 ms 0.29 ms Libraries 28
starter_packs/tests.py::TestOwnerManagement::test_creator_removed_from_owners_loses_access
passed 69 ms 1 ms 68 ms 0.26 ms Database 25
confs/tests.py::TestMigratedLegacyConferences::test_dotnetconf_page
passed 69 ms 0.67 ms 63 ms 4 ms Libraries 11
confs/tests.py::TestMigratedLegacyConferences::test_djangoconafrica_page
passed 68 ms 0.66 ms 67 ms 0.23 ms Database 11
starter_packs/tests.py::TestStarterPacks::test_index_page_with_own_starter_packs
passed 68 ms 0.67 ms 67 ms 0.21 ms Libraries 30
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_date_only_last_status_at_is_stored_as_aware
passed 68 ms 9 ms 58 ms 0.23 ms Database 32
confs/tests.py::TestConferencePage::test_conference_utc_with_no_filter
passed 68 ms 0.86 ms 66 ms 0.47 ms Database 16
starter_packs/tests.py::TestOwnerManagement::test_removing_self_redirects_home
passed 68 ms 1 ms 66 ms 0.35 ms Libraries 27
mastodon_auth/tests.py::MastodonLoginViewTests::test_create_app_failure_without_existing_credentials_errors
passed 67 ms 10 ms 57 ms 0.24 ms Mocking 7
starter_packs/tests.py::TestPinAccountInStarterPack::test_pin_button_shown_on_add_accounts_page
passed 67 ms 0.64 ms 66 ms 0.25 ms Database 29
starter_packs/tests.py::TestShareStarterPack::test_header_shows_gradient_and_account_avatars
passed 67 ms 0.57 ms 61 ms 5 ms Database 14
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_with_languages
passed 67 ms 0.63 ms 66 ms 0.26 ms Libraries 29
confs/tests.py::TestConferencePage::test_conference_with_utc_with_date
passed 66 ms 0.65 ms 65 ms 0.23 ms Database 16
mastodon_auth/tests.py::RedirectToLocalViewTests::test_invalid_query_redirects_to_home
passed 66 ms 10 ms 56 ms 0.21 ms Libraries 5
accounts/tests.py::TestActivityPubActor::test_actor_to_account_defaults_bot_and_locked
passed 66 ms 0.84 ms 0.36 ms 64 ms DB schema 1
accounts/tests.py::TestAccountIndexRobots::test_pagination_is_noindex
passed 65 ms 0.59 ms 64 ms 0.35 ms Database 8
starter_packs/tests.py::TestShareStarterPack::test_api_activitypub_leaves_out_attributed_to_without_author_activitypub_id
passed 65 ms 1 ms 64 ms 0.25 ms Database 11
starter_packs/tests.py::TestFollowBg::test_continues_after_other_errors
passed 65 ms 45 ms 20 ms 0.34 ms Database 25
12 repeated
fedidevs/tests.py::TestAccountIndexQueryParams::test_unknown_param_is_stripped_from_faceted_url
passed 65 ms 0.60 ms 64 ms 0.28 ms Libraries –
starter_packs/tests.py::TestStarterPacks::test_index_page_logged_in
passed 65 ms 0.75 ms 64 ms 0.22 ms Database 26
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_token_response_without_scope_still_logs_in
passed 64 ms 0.80 ms 63 ms 0.22 ms Mocking 33
starter_packs/tests.py::TestEditStarterPack::test_not_logged_in
passed 64 ms 2 ms 62 ms 0.22 ms Libraries 7
starter_packs/tests.py::TestOwnerManagement::test_manage_owners_page
passed 64 ms 0.58 ms 63 ms 0.24 ms Libraries 27
starter_packs/tests.py::TestStarterPacks::test_index_page_language_filter
passed 63 ms 0.62 ms 63 ms 0.22 ms Libraries 17
fedidevs/tests.py::TestRobotsTxt::test_disallows_query_strings_except_googlebot
passed 63 ms 0.80 ms 62 ms 0.48 ms Libraries –
starter_packs/tests.py::TestOwnerManagement::test_search_excludes_invited_users
passed 63 ms 0.79 ms 62 ms 0.31 ms Database 29
starter_packs/tests.py::TestCreateStarterPack::test_create_page_logged_in
passed 63 ms 0.92 ms 61 ms 0.24 ms Database 24
starter_packs/tests.py::TestOwnerManagement::test_invite_existing_owner_is_noop
passed 62 ms 0.66 ms 62 ms 0.28 ms Database 29
accounts/tests.py::TestSelectedInstance::test_selected_instance_http_truncate
passed 62 ms 0.52 ms 62 ms 0.25 ms Database 13
starter_packs/tests.py::TestShareStarterPack::test_order_by_2___recently_added____0__1__2__3__4__
passed 62 ms 0.55 ms 62 ms 0.24 ms Database 20
5 repeated
starter_packs/tests.py::TestPinAccountInStarterPack::test_pin_button_shown_on_review_page
passed 62 ms 0.58 ms 62 ms 0.22 ms Libraries 29
starter_packs/tests.py::TestRemoteFollowStarterPack::test_error_on_invalid_handle
passed 62 ms 0.61 ms 61 ms 0.23 ms Database 12
accounts/tests.py::TestAccountIndexRobots::test_selected_instance_is_noindex
passed 62 ms 0.55 ms 61 ms 0.21 ms Database 12
starter_packs/tests.py::TestStarterPacks::test_index_page_unknown_language_ignored
passed 62 ms 0.72 ms 61 ms 0.36 ms Libraries 15
starter_packs/tests.py::TestPinAccountInStarterPack::test_pinned_account_listed_first_for_everyone
passed 61 ms 0.55 ms 60 ms 0.25 ms Database 13
starter_packs/tests.py::TestAddAccountsSearch::test_username_search_shows_unchecked_for_new_account
passed 61 ms 0.57 ms 56 ms 4 ms Mocking 30
starter_packs/tests.py::TestDeleteStarterPack::test_delete_confirmation
passed 61 ms 0.59 ms 60 ms 0.35 ms Libraries 25
starter_packs/tests.py::TestShareStarterPack::test_sort_select_avoids_inline_js
passed 61 ms 0.66 ms 56 ms 4 ms Libraries 12
starter_packs/tests.py::TestOwnerManagement::test_remove_owner
passed 61 ms 0.67 ms 60 ms 0.29 ms Libraries 29
starter_packs/tests.py::TestEditStarterPack::test_not_owned_starter_pack
passed 61 ms 0.80 ms 55 ms 5 ms Libraries 24
starter_packs/tests.py::TestStarterPacks::test_language_filter_only_lists_used_languages
passed 61 ms 0.57 ms 55 ms 5 ms Libraries 15
starter_packs/tests.py::TestOwnerManagement::test_non_owner_cannot_cancel_invitation
passed 60 ms 0.57 ms 60 ms 0.22 ms Libraries 25
starter_packs/tests.py::TestRemoteFollowStarterPack::test_error_when_no_subscribe_endpoint
passed 59 ms 0.64 ms 58 ms 0.21 ms Mocking 12
starter_packs/tests.py::TestRemoteFollowStarterPack::test_mastodon_handle_is_told_to_log_in
passed 59 ms 0.58 ms 57 ms 0.65 ms Mocking 12
starter_packs/tests.py::TestShareStarterPack::test_api_activitypub_leaves_out_accounts_without_activitypub_id
passed 59 ms 0.72 ms 57 ms 0.52 ms Database 14
mastodon_auth/tests.py::MastodonLoginViewTests::test_create_app_rate_limited_reuses_existing_credentials
passed 58 ms 1 ms 56 ms 0.26 ms Mocking 8
starter_packs/tests.py::TestShareStarterPack::test_api_formats_5___application_json_q_0_5_text_html_q_0_4____application_json__
passed 58 ms 3 ms 55 ms 0.24 ms Database 8
accounts/tests.py::TestAccountIndexRobots::test_search_is_noindex_even_alone
passed 58 ms 0.83 ms 57 ms 0.20 ms Libraries 8
starter_packs/tests.py::TestShareStarterPack::test_languages_shown_when_set
passed 57 ms 0.56 ms 57 ms 0.23 ms Database 13
accounts/tests.py::TestStaticPages::test_faq
passed 57 ms 0.84 ms 55 ms 2 ms Libraries 7
starter_packs/tests.py::TestOwnerManagement::test_non_owner_cannot_invite
passed 56 ms 0.74 ms 55 ms 0.21 ms Libraries 23
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_defaults_to_no_languages
passed 56 ms 0.61 ms 54 ms 1 ms Database 29
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_query_string_pages_are_not_noindexed
passed 55 ms 0.99 ms 51 ms 3 ms Libraries 7
accounts/tests.py::TestAccountIndexRobots::test_full_facet_product_is_noindex
passed 55 ms 0.71 ms 54 ms 0.26 ms Database 8
accounts/tests.py::TestSelectedInstance::test_no_selected_instance
passed 55 ms 0.65 ms 54 ms 0.26 ms Database 12
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_plain_pages_are_indexable
passed 54 ms 0.67 ms 53 ms 0.41 ms Libraries 7
starter_packs/tests.py::TestOwnerManagement::test_non_owner_cannot_open_manage_page
passed 54 ms 0.57 ms 53 ms 0.21 ms Database 23
starter_packs/tests.py::TestPinAccountInStarterPack::test_stale_pin_toggle_returns_disabled_button
passed 54 ms 0.78 ms 53 ms 0.21 ms Database 26
fedidevs/tests.py::TestPotatoqDashboard::test_regular_user_is_forbidden
passed 54 ms 0.83 ms 53 ms 0.33 ms Libraries 22
confs/tests.py::TestConferencePage::test_posts_after_filter_does_not_warn_naive_datetime
passed 54 ms 0.65 ms 52 ms 2 ms Libraries 16
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_rejects_unknown_language
passed 54 ms 0.61 ms 53 ms 0.24 ms Database 25
fedidevs/tests.py::TestAccountIndexQueryParams::test_empty_q_is_preserved
passed 54 ms 2 ms 51 ms 0.20 ms Libraries –

Slowest fixtures

Exact setup time across the session
Fixture Scope Calls Total Max
_django_setup_unittest class 78 15.08 s 3.91 s
django_db_setup session 4 15.06 s 3.91 s
_unittest_setUpClass_fixture_TestShareStarterPack class 3 146 ms 58 ms
_unittest_setUpClass_fixture_TestSelectedInstance class 1 91 ms 91 ms
_unittest_setUpClass_fixture_TestFollowStarterPack class 2 82 ms 46 ms
_unittest_setUpClass_fixture_TestPinAccountInStarterPack class 2 69 ms 40 ms
_unittest_setUpClass_fixture_TestOwnerManagement class 2 65 ms 35 ms
_unittest_setUpClass_fixture_TestWebfingerBackfill class 1 60 ms 60 ms
_unittest_setUpClass_fixture_TestEditStarterPackAccounts class 2 49 ms 26 ms
_unittest_setUpClass_fixture_TestFollowBg class 1 44 ms 44 ms
_unittest_setUpClass_fixture_TestCreateStarterPack class 2 43 ms 23 ms
_unittest_setUpClass_fixture_TestAddAccountsSearch class 1 40 ms 40 ms
_unittest_setUpClass_fixture_TestStarterPacks class 1 34 ms 34 ms
_unittest_setUpClass_fixture_TestConferencePage class 1 31 ms 31 ms
_unittest_setUpClass_fixture_TestRemoteFollowStarterPack class 2 29 ms 15 ms