flakytest.dev anze3db fedidevs
Profiles / #4

Passed Run of Oct 18, 16:10

CI github-actions:test · d923a46 main dirty · pass/fail report
short_tests 18 tests finished faster than one sample (1ms), so they have timings but no breakdown. That's expected for tests this fast.
Wall time
27.66 s
4 workers
Test time
1m 06s
sum of test durations
Tests
301
301 passed
Profiler
tachyon
1000 Hz · 63,919 samples · Python 3.15.0 · flakytest 2026.0b1
Peak memory
676 MB
4 workers together

Where the time goes

Test time by category
  • Password hashing21.22 s
  • Migrations17.23 s
  • Libraries11.18 s
  • Database7.18 s
  • DB schema4.23 s
  • Templates1.59 s
  • Imports1.18 s
  • Mocking1.14 s
  • pytest374 ms
  • Factories290 ms
  • Unsampled186 ms
  • Cache146 ms
  • App code66 ms
  • Deep copies46 ms
  • Waiting15 ms
  • Test code13 ms
  • Network12 ms
  • Serialization9 ms
  • Logging5 ms

Session timeline

Other
10 ms
Tests
1m 06s
Startup
7.07 s
Collection
3.36 s
Session teardown
1 ms
Test phases
Setup 19.97 s Call 44.48 s Teardown 1.66 s

Fix next

Ranked by the time each fix saves per run
1

Use a fast password hasher in tests

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

High Password hashing
20.15 s per run
Fix: In your test settings set PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"] (currently PBKDF2PasswordHasher).
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 · 3.93 s
  • confs/tests.py:1175 TestEditConference.setUp · 2.73 s
  • confs/tests.py:1176 TestEditConference.setUp · 2.63 s
  • confs/tests.py:1177 TestEditConference.setUp · 2.60 s
  • confs/tests.py:1372 TestApproveConference.setUp · 2.13 s
  • confs/tests.py:1371 TestApproveConference.setUp · 2.11 s
  • confs/tests.py:1316 TestConferenceApprovalVisibility.setUp · 1.66 s
  • confs/tests.py:1317 TestConferenceApprovalVisibility.setUp · 1.65 s
  • confs/tests.py:1295 TestUnapproveConference.setUp · 488 ms
  • confs/tests.py:1296 TestUnapproveConference.setUp · 485 ms

Most affected tests:

  • confs/tests.py::TestEditConference::test_other_user_forbidden
  • confs/tests.py::TestEditConference::test_owner_can_edit
  • confs/tests.py::TestEditConference::test_edit_does_not_change_slug
  • confs/tests.py::TestEditConference::test_owner_can_view_edit_form
  • confs/tests.py::TestEditConference::test_owner_can_edit_after_approval
  • confs/tests.py::TestConferenceApprovalVisibility::test_owner_sees_own_pending
  • confs/tests.py::TestEditConference::test_other_user_forbidden_on_approved_conference
  • fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_authenticated_html_is_private_and_keeps_csrf_header

Documentation

2

Use plain static file storage in tests

Static file storage/manifest handling costs 15.7s.

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

Where:

  • confs/views.py:296 _conference_detail · 669 ms
  • starter_packs/tests.py:841 TestShareStarterPack.test_api_formats · 653 ms
  • confs/tests.py:152 TestMigratedLegacyConferences._assert_no_naive_warning · 457 ms
  • accounts/views.py:425 index · 413 ms
  • starter_packs/views.py:862 share_starter_pack · 333 ms
  • starter_packs/tests.py:1248 TestRemoteFollowStarterPack.test_share_page_hides_remote_follow_form_when_logged_in · 303 ms
  • starter_packs/tests.py:781 TestShareStarterPack.test_order_by · 260 ms
  • accounts/tests.py:550 TestAccountIndexRobots.assert_noindex · 252 ms
  • confs/tests.py:1132 TestCreateConference.test_mastodon_url_is_kept · 246 ms
  • starter_packs/tests.py:311 TestAddAccountsSearch.test_username_search_shows_unchecked_for_new_account · 242 ms

Most affected tests:

  • confs/tests.py::TestConferencePage::test_conference_with_pacific_with_date
  • starter_packs/tests.py::TestShareStarterPack::test_api_formats_4___application_json____application_json__
  • starter_packs/tests.py::TestRemoteFollowStarterPack::test_share_page_hides_remote_follow_form_when_logged_in
  • confs/tests.py::TestMigratedLegacyConferences::test_djangoconafrica_page
  • starter_packs/tests.py::TestStarterPacks::test_index_page_language_filter
  • starter_packs/tests.py::TestAddAccountsSearch::test_username_search_shows_unchecked_for_new_account
  • accounts/tests.py::TestStaticPages::test_developers_on_mastodon
  • confs/tests.py::TestCreateConference::test_mastodon_url_is_kept
3

Stop re-running migrations on every test run

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

High Migrations
15.51 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.
Details

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

Where:

  • confs/tests.py:432 TestLegacyConferenceDataMigration._migrate · 1.07 s
  • confs/migrations/0031_seed_conference_tags.py:14 seed_conference_tags · 471 ms
  • confs/tests.py:412 TestLegacyConferenceDataMigration._leaf_targets · 120 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:388 _get_or_create_conference · 71 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:214 _pk_batches · 63 ms
  • confs/tests.py:431 TestLegacyConferenceDataMigration._migrate · 56 ms
  • confs/tests.py:430 TestLegacyConferenceDataMigration._migrate · 51 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:398 migrate_legacy_pair · 37 ms
  • confs/migrations/0033_remove_legacy_conference_tables.py:325 _refresh_account_counts · 33 ms
  • confs/tests.py:486 TestLegacyConferenceDataMigration._seed_overlapping_legacy_data · 23 ms

Most affected tests:

  • confs/tests.py::TestMigratedLegacyConferences::test_djangoconus_old_url_redirects
  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • accounts/tests.py::TestAccountIndexRobots::test_single_facet_is_indexable
  • confs/tests.py::TestConferencePage::test_conference_with_utc_with_date_no_posts
  • 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 20.6s in total (password hashing 20.4s, db 158ms, factories 12ms) in 7 classes: TestPostAnnouncements (6 tests), TestFollowStarterPack (3 tests), TestConferenceApprovalVisibility (5 tests), TestApproveConference (6 tests).

High Database
14.42 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).
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 · 3.94 s
  • confs/tests.py:1175 TestEditConference.setUp · 2.74 s
  • confs/tests.py:1176 TestEditConference.setUp · 2.64 s
  • confs/tests.py:1177 TestEditConference.setUp · 2.61 s
  • confs/tests.py:1372 TestApproveConference.setUp · 2.13 s
  • confs/tests.py:1371 TestApproveConference.setUp · 2.12 s
  • confs/tests.py:1316 TestConferenceApprovalVisibility.setUp · 1.68 s
  • confs/tests.py:1317 TestConferenceApprovalVisibility.setUp · 1.66 s
  • confs/tests.py:1295 TestUnapproveConference.setUp · 491 ms
  • confs/tests.py:1296 TestUnapproveConference.setUp · 487 ms

Most affected tests:

  • confs/tests.py::TestEditConference::test_other_user_forbidden
  • confs/tests.py::TestEditConference::test_owner_can_edit
  • confs/tests.py::TestEditConference::test_edit_does_not_change_slug
  • confs/tests.py::TestEditConference::test_owner_can_view_edit_form
  • confs/tests.py::TestEditConference::test_owner_can_edit_after_approval
  • confs/tests.py::TestConferenceApprovalVisibility::test_owner_sees_own_pending
  • confs/tests.py::TestEditConference::test_other_user_forbidden_on_approved_conference
  • confs/tests.py::TestConferenceApprovalVisibility::test_other_user_does_not_see_pending

Documentation

5

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

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

High Database
7.85 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).
Details

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

  • 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_single_facet_is_indexable: 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_djangoconus_old_url_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_conference_with_utc_with_date_no_posts: 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:

  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • accounts/tests.py::TestAccountIndexRobots::test_single_facet_is_indexable
  • confs/tests.py::TestMigratedLegacyConferences::test_djangoconus_old_url_redirects
  • confs/tests.py::TestConferencePage::test_conference_with_utc_with_date_no_posts
  • 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.9s.

Medium App code
5.92 s per run
Fix: Only add debug_toolbar to INSTALLED_APPS and MIDDLEWARE when not testing (e.g. `if DEBUG and not TESTING:`).
Details

Where:

  • confs/views.py:296 _conference_detail · 669 ms
  • accounts/views.py:425 index · 413 ms
  • starter_packs/views.py:862 share_starter_pack · 333 ms
  • confs/tests.py:1132 TestCreateConference.test_mastodon_url_is_kept · 209 ms
  • confs/views.py:128 conferences · 156 ms
  • starter_packs/views.py:858 share_starter_pack · 135 ms
  • confs/views.py:509 create_conference · 126 ms
  • accounts/views.py:28 CountlessPage.__init__ · 125 ms
  • starter_packs/views.py:60 get_editable_pack · 118 ms
  • starter_packs/views.py:185 starter_packs · 111 ms

Most affected tests:

  • confs/tests.py::TestConferencePage::test_conference_with_pacific_with_date
  • confs/tests.py::TestCreateConference::test_mastodon_url_is_kept
  • confs/tests.py::TestConferencePage::test_conference_with_utc_with_date_no_posts
  • accounts/tests.py::TestAccountIndexRobots::test_single_facet_is_indexable
  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • confs/tests.py::TestMigratedLegacyConferences::test_dotnetconf_page
  • fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_forms_work_after_csrf_bootstrap
  • confs/tests.py::TestConferencePage::test_posts_after_filter_does_not_warn_naive_datetime

Documentation

7

Make the test database server skip durability work

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

Medium Database
5.73 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.
Details

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

Where:

  • confs/tests.py:432 TestLegacyConferenceDataMigration._migrate · 1.07 s
  • confs/migrations/0031_seed_conference_tags.py:14 seed_conference_tags · 471 ms
  • starter_packs/tests.py:397 TestToggleStarterPackAccount.test_toggle_after_limit · 453 ms
  • starter_packs/views.py:862 share_starter_pack · 152 ms
  • starter_packs/views.py:858 share_starter_pack · 135 ms
  • accounts/views.py:28 CountlessPage.__init__ · 125 ms
  • stats/models.py:20 store_daily_stats · 124 ms
  • confs/tests.py:412 TestLegacyConferenceDataMigration._leaf_targets · 120 ms
  • starter_packs/views.py:60 get_editable_pack · 118 ms
  • accounts/views.py:295 index · 106 ms

Most affected tests:

  • accounts/tests.py::TestSelectedInstance::test_invalid_selected_instance
  • accounts/tests.py::TestAccountIndexRobots::test_single_facet_is_indexable
  • confs/tests.py::TestMigratedLegacyConferences::test_djangoconus_old_url_redirects
  • confs/tests.py::TestConferencePage::test_conference_with_utc_with_date_no_posts
  • 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
  • mastodon_auth/tests.py::RegisterAppTests::test_returns_credentials_on_200
  • mastodon_auth/tests.py::ParseDtTests::test_date_only_string_becomes_aware_midnight

Documentation

8

pytest takes a long time before the first test runs

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

Medium Imports
4.17 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.
Details
  • mastodon_auth/tests.py (892ms)
  • starter_packs/tests.py (229ms)
  • accounts/tests.py (45ms)
  • confs/tests.py (12ms)
  • stats/tests.py (5ms)
  • fedidevs/settings.py (1.5s)
  • debug_toolbar/panels/sql/__init__.py (876ms)
  • starter_packs/admin.py (640ms)

Documentation

9

pytest-xdist workers finish at very different times

The busiest worker ran 20.7s of tests, the least busy 14.7s.

Medium Parallelism
3.00 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.
Details

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: 18.6s in total, about 4.6s per worker. 13.9s of it repeats work another worker already did.

Medium Migrations
13.94 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.
Details

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

  • {'total': 18.583, 'builds': 4, 'workers': 4, 'per_build': 4.646}

Documentation

Tests

1–200 of 301, 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.95 s 4.77 s 182 ms 1 ms Migrations 1119
295 repeated
accounts/tests.py::TestAccountIndexRobots::test_single_facet_is_indexable
passed 4.93 s 4.67 s 260 ms 0.94 ms Migrations 1077
262 repeated
confs/tests.py::TestConferencePage::test_conference_with_utc_with_date_no_posts
passed 4.86 s 4.61 s 251 ms 1 ms Migrations 1073
262 repeated
confs/tests.py::TestMigratedLegacyConferences::test_djangoconus_old_url_redirects
passed 4.82 s 4.71 s 109 ms 1 ms Migrations 1062
262 repeated
confs/tests.py::TestLegacyConferenceDataMigration::test_copies_overlapping_legacy_rows_without_clobbering_existing_data
passed 1.31 s 1 ms 1.31 s 0.53 ms Migrations 293
72 repeated
confs/tests.py::TestEditConference::test_edit_does_not_change_slug
passed 1.15 s 10 ms 1.14 s 0.26 ms Password hashing 31
3 repeated
confs/tests.py::TestEditConference::test_other_user_forbidden
passed 1.13 s 2 ms 1.13 s 0.28 ms Password hashing 27
3 repeated
confs/tests.py::TestEditConference::test_owner_can_edit
passed 1.11 s 0.87 ms 1.11 s 0.25 ms Password hashing 31
3 repeated
confs/tests.py::TestConferenceOgImage::test_management_command_renders_missing_and_skips_current
passed 1.10 s 16 ms 1.08 s 0.27 ms Libraries 17
10 repeated
confs/tests.py::TestEditConference::test_owner_can_view_edit_form
passed 950 ms 0.59 ms 949 ms 0.21 ms Password hashing 30
3 repeated
confs/tests.py::TestEditConference::test_owner_can_edit_after_approval
passed 921 ms 0.62 ms 920 ms 0.20 ms Password hashing 32
3 repeated
confs/tests.py::TestConferenceApprovalVisibility::test_owner_sees_own_pending
passed 911 ms 0.97 ms 909 ms 0.51 ms Password hashing 35
3 repeated
confs/tests.py::TestConferenceApprovalVisibility::test_other_user_does_not_see_pending
passed 885 ms 11 ms 873 ms 0.28 ms Password hashing 35
3 repeated
confs/tests.py::TestEditConference::test_other_user_forbidden_on_approved_conference
passed 878 ms 0.71 ms 877 ms 0.28 ms Password hashing 31
6 repeated
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_authenticated_html_is_private_and_keeps_csrf_header
passed 869 ms 0.94 ms 867 ms 0.32 ms Password hashing 31
3 repeated
confs/tests.py::TestApproveConference::test_anonymous_sees_pending_banner_without_button
passed 850 ms 0.72 ms 849 ms 0.27 ms Password hashing 14
confs/tests.py::TestApproveConference::test_non_staff_forbidden
passed 790 ms 0.68 ms 789 ms 0.52 ms Password hashing 26
confs/tests.py::TestConferenceApprovalVisibility::test_pending_detail_page_is_viewable
passed 779 ms 1 ms 775 ms 3 ms Password hashing 15
confs/tests.py::TestEditConference::test_owner_sees_edit_button_on_approved_detail
passed 778 ms 0.54 ms 778 ms 0.26 ms Password hashing 33
3 repeated
confs/tests.py::TestApproveConference::test_anonymous_redirected_to_login
passed 775 ms 13 ms 762 ms 0.25 ms Password hashing 9
confs/tests.py::TestApproveConference::test_staff_approves
passed 772 ms 0.87 ms 771 ms 0.23 ms Password hashing 28
confs/tests.py::TestLegacyConferenceDataMigration::test_drops_legacy_tables_when_uniques_are_mysql_style_indexes
passed 760 ms 1 ms 758 ms 0.47 ms Migrations 228
68 repeated
confs/tests.py::TestApproveConference::test_get_not_allowed
passed 755 ms 0.81 ms 754 ms 0.24 ms Password hashing 25
confs/tests.py::TestEditConference::test_staff_can_edit
passed 744 ms 0.51 ms 743 ms 0.87 ms Password hashing 31
3 repeated
confs/tests.py::TestEditConference::test_requires_login
passed 739 ms 0.55 ms 739 ms 0.21 ms Password hashing 9
3 repeated
mastodon_auth/tests.py::RegisterAppTests::test_returns_credentials_on_200
passed 723 ms 0.55 ms 4 ms 719 ms DB schema 1
starter_packs/tests.py::TestToggleStarterPackAccount::test_toggle_after_limit
passed 698 ms 0.86 ms 696 ms 0.73 ms Database 499
463 repeated
confs/tests.py::TestCreateConference::test_mastodon_url_is_kept
passed 601 ms 0.69 ms 600 ms 0.26 ms Password hashing 27
confs/tests.py::TestConferenceApprovalVisibility::test_conference_tag_icon_rendered_in_list
passed 595 ms 0.50 ms 514 ms 81 ms Password hashing 21
3 repeated
mastodon_auth/tests.py::ParseDtTests::test_date_only_string_becomes_aware_midnight
passed 579 ms 1 ms 0.28 ms 578 ms DB schema 1
confs/tests.py::TestApproveConference::test_staff_sees_approve_button_on_detail
passed 577 ms 0.55 ms 574 ms 2 ms Password hashing 31
confs/tests.py::TestCreateConference::test_advanced_days_are_saved
passed 552 ms 15 ms 537 ms 0.26 ms Password hashing 27
confs/tests.py::TestCreateConference::test_rejects_end_date_before_start
passed 539 ms 0.90 ms 538 ms 0.27 ms Password hashing 26
confs/tests.py::TestConferenceApprovalVisibility::test_anonymous_sees_only_approved
passed 535 ms 7 ms 529 ms 0.17 ms Password hashing 18
3 repeated
confs/tests.py::TestUnapproveConference::test_non_staff_forbidden
passed 525 ms 7 ms 517 ms 0.18 ms Password hashing 26
confs/tests.py::TestUnapproveConference::test_staff_unapproves
passed 504 ms 0.51 ms 503 ms 0.74 ms Password hashing 28
confs/tests.py::TestCreateConference::test_form_renders_for_authenticated_user
passed 493 ms 0.74 ms 492 ms 0.27 ms Password hashing 26
confs/tests.py::TestCreateConference::test_rejects_more_than_three_icons
passed 487 ms 1 ms 485 ms 0.24 ms Password hashing 31
4 repeated
confs/tests.py::TestCreateConference::test_selected_icons_are_saved
passed 476 ms 0.72 ms 474 ms 0.52 ms Password hashing 31
confs/tests.py::TestCreateConference::test_mastodon_handle_is_converted_to_url
passed 463 ms 0.65 ms 462 ms 0.24 ms Password hashing 27
confs/tests.py::TestCreateConference::test_slug_collision_is_resolved
passed 457 ms 0.72 ms 456 ms 0.25 ms Password hashing 29
3 repeated
confs/tests.py::TestCreateConference::test_submit_creates_pending_conference
passed 424 ms 0.82 ms 419 ms 3 ms Password hashing 28
confs/tests.py::TestCreateConference::test_requires_login
passed 408 ms 0.78 ms 407 ms 0.26 ms Password hashing 6
confs/tests.py::TestConferencePage::test_conference_with_pacific_with_date
passed 366 ms 0.91 ms 365 ms 0.30 ms Templates 16
starter_packs/tests.py::TestRemoteFollowStarterPack::test_share_page_hides_remote_follow_form_when_logged_in
passed 352 ms 0.74 ms 351 ms 0.25 ms Libraries 33
starter_packs/tests.py::TestShareStarterPack::test_api_formats_4___application_json____application_json__
passed 332 ms 0.71 ms 331 ms 0.26 ms Libraries 8
confs/tests.py::TestMigratedLegacyConferences::test_djangoconafrica_page
passed 325 ms 2 ms 323 ms 0.22 ms Libraries 11
starter_packs/tests.py::TestAddAccountsSearch::test_username_search_shows_unchecked_for_new_account
passed 277 ms 0.76 ms 274 ms 2 ms Mocking 30
accounts/tests.py::TestStaticPages::test_developers_on_mastodon
passed 272 ms 17 ms 255 ms 0.24 ms Libraries 8
starter_packs/tests.py::TestStarterPacks::test_index_page_language_filter
passed 264 ms 0.79 ms 263 ms 0.23 ms Libraries 17
accounts/tests.py::TestInstanceIndexingBridgy::test_follows_redirect_and_coerces_null_version
passed 224 ms 1 ms 221 ms 2 ms DB schema 73
62 repeated
confs/tests.py::TestConferenceOgImage::test_render_writes_file_and_updates_fields
passed 195 ms 0.79 ms 194 ms 0.29 ms Libraries 8
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_html_is_publicly_cacheable_without_csrf_cookie
passed 195 ms 0.88 ms 193 ms 0.93 ms pytest 7
starter_packs/tests.py::TestOwnerManagement::test_accept_blocked_when_pack_at_max
passed 180 ms 38 ms 142 ms 0.83 ms Database 84
54 repeated
starter_packs/tests.py::TestOwnerManagement::test_invite_blocked_when_owners_plus_invitations_at_max
passed 162 ms 1 ms 160 ms 0.34 ms Database 76
45 repeated
starter_packs/tests.py::TestAddAccountsSearch::test_username_search_shows_checked_for_existing_account
passed 160 ms 31 ms 128 ms 0.57 ms Database 40
starter_packs/tests.py::TestFollowStarterPack::test_instance_unreachable
passed 154 ms 44 ms 110 ms 0.33 ms Database 43
6 repeated
confs/tests.py::TestConferencePage::test_posts_after_filter_does_not_warn_naive_datetime
passed 152 ms 1 ms 146 ms 4 ms Libraries 16
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_invalid_grant_is_logged_as_warning_not_error
passed 146 ms 0.71 ms 145 ms 0.21 ms Cache 8
confs/tests.py::TestMigratedLegacyConferences::test_dotnetconf_page
passed 144 ms 0.81 ms 143 ms 0.27 ms Libraries 11
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_forms_work_after_csrf_bootstrap
passed 140 ms 13 ms 127 ms 0.24 ms Libraries 8
starter_packs/tests.py::TestOwnerManagement::test_pending_invitation_shown_on_starter_packs_page
passed 138 ms 36 ms 101 ms 0.88 ms Database 38
accounts/tests.py::TestSitemap::test_sitemap
passed 137 ms 24 ms 112 ms 0.69 ms Libraries 14
5 repeated
starter_packs/tests.py::TestShareStarterPack::test_api_activitypub_leaves_out_attributed_to_without_author_activitypub_id
passed 134 ms 53 ms 81 ms 0.29 ms Database 33
17 repeated
starter_packs/tests.py::TestFollowStarterPack::test_success
passed 128 ms 1 ms 126 ms 1 ms Database 39
6 repeated
starter_packs/tests.py::TestShareStarterPack::test_order_by_recently_added_ignores_other_packs
passed 128 ms 0.77 ms 122 ms 5 ms Libraries 24
5 repeated
starter_packs/tests.py::TestPinAccountInStarterPack::test_no_pin_button_on_share_page
passed 127 ms 33 ms 94 ms 0.29 ms Database 41
3 repeated
confs/tests.py::TestMigratedLegacyConferences::test_migrated_conference_shows_linked_posts
passed 126 ms 3 ms 120 ms 4 ms Database 19
accounts/tests.py::TestSelectedInstance::test_selected_instance_through_session
passed 126 ms 1 ms 125 ms 0.28 ms Libraries 17
confs/tests.py::TestConferencePage::test_conference_pacific_with_no_filter
passed 124 ms 29 ms 95 ms 0.27 ms Database 20
accounts/tests.py::TestSelectedInstance::test_unselected_instance
passed 124 ms 0.89 ms 121 ms 2 ms Libraries 20
accounts/tests.py::TestSelectedInstance::test_selected_instance_https_truncate
passed 123 ms 1 ms 122 ms 0.27 ms Libraries 13
starter_packs/tests.py::TestOwnerManagement::test_invite_blocked_at_max
passed 123 ms 1 ms 122 ms 0.31 ms Database 77
45 repeated
starter_packs/tests.py::TestToggleStarterPackAccount::test_add_account
passed 119 ms 26 ms 92 ms 0.31 ms Database 42
starter_packs/tests.py::TestShareStarterPack::test_logged_in
passed 118 ms 0.92 ms 116 ms 0.28 ms Database 36
7 repeated
stats/tests.py::TestStats::test_posts_from_yesterday_are_updated
passed 117 ms 0.64 ms 116 ms 0.27 ms Database 108
91 repeated
starter_packs/tests.py::TestShareStarterPack::test_api_activitypub
passed 116 ms 50 ms 66 ms 0.27 ms Database 34
17 repeated
starter_packs/tests.py::TestOwnerManagement::test_invite_existing_owner_is_noop
passed 116 ms 1 ms 114 ms 0.98 ms Libraries 29
starter_packs/tests.py::TestShareStarterPack::test_order_by_6___not_a_valid_option____4__3__2__1__0__
passed 115 ms 1 ms 114 ms 0.51 ms Libraries 20
5 repeated
starter_packs/tests.py::TestEditStarterPackAccounts::test_edit_starter_packs
passed 114 ms 23 ms 90 ms 0.26 ms Libraries 34
starter_packs/tests.py::TestPinAccountInStarterPack::test_pinned_account_listed_first_for_everyone
passed 114 ms 33 ms 80 ms 0.32 ms Database 24
3 repeated
starter_packs/tests.py::TestStarterPacks::test_index_page
passed 112 ms 28 ms 85 ms 0.27 ms Templates 19
11 repeated
starter_packs/tests.py::TestRemoteFollowStarterPack::test_error_on_invalid_handle
passed 112 ms 18 ms 94 ms 0.23 ms Libraries 14
starter_packs/tests.py::TestOwnerManagement::test_invite_twice_does_not_duplicate
passed 111 ms 0.99 ms 110 ms 0.30 ms Libraries 40
3 repeated
confs/tests.py::TestConferencesPage::test_conferences_page
passed 111 ms 10 ms 98 ms 3 ms Database 12
3 repeated
starter_packs/tests.py::TestEditStarterPack::test_edit_shows_selected_uncommon_language_expanded
passed 108 ms 27 ms 81 ms 0.28 ms Database 32
starter_packs/tests.py::TestPinAccountInStarterPack::test_pinned_account_first_for_every_sort_option
passed 107 ms 1 ms 106 ms 0.30 ms Libraries 13
starter_packs/tests.py::TestPinAccountInStarterPack::test_pin_limit
passed 107 ms 0.79 ms 106 ms 0.32 ms Libraries 47
20 repeated
starter_packs/tests.py::TestFollowStarterPack::test_revoked_token_logs_out
passed 106 ms 1 ms 104 ms 0.25 ms Mocking 34
starter_packs/tests.py::TestOwnerManagement::test_remove_owner
passed 106 ms 1 ms 104 ms 0.33 ms Libraries 29
starter_packs/tests.py::TestPinAccountInStarterPack::test_removing_account_swaps_pin_button_to_disabled
passed 103 ms 0.71 ms 102 ms 0.34 ms Libraries 35
starter_packs/tests.py::TestOwnerManagement::test_removing_self_redirects_home
passed 102 ms 1 ms 101 ms 0.32 ms Libraries 27
starter_packs/tests.py::TestOwnerManagement::test_invite_creates_pending_invitation_not_owner
passed 102 ms 1 ms 101 ms 0.49 ms Libraries 33
confs/tests.py::TestConferencePage::test_conference_with_utc_with_date
passed 101 ms 1 ms 95 ms 6 ms Libraries 16
accounts/tests.py::TestWebfingerBackfill::test_backfills_only_live_starter_pack_accounts_and_authors
passed 101 ms 56 ms 44 ms 2 ms Database 34
22 repeated
starter_packs/tests.py::TestShareStarterPack::test_order_by_5___alphabetical____4__3__2__1__0__
passed 100 ms 0.92 ms 99 ms 0.28 ms Libraries 20
5 repeated
starter_packs/tests.py::TestPinAccountInStarterPack::test_unpinned_pack_orders_by_followers
passed 100 ms 1 ms 94 ms 5 ms Libraries 12
starter_packs/tests.py::TestDeleteStarterPack::test_delete
passed 97 ms 26 ms 71 ms 0.40 ms Database 31
accounts/tests.py::TestAccountIndexRobots::test_canonical_page_is_indexable
passed 97 ms 12 ms 85 ms 0.27 ms Libraries 8
starter_packs/tests.py::TestShareStarterPack::test_api_formats_3___application_activity_json_q_0_5_text_html_q_0_4____application_activity_json__
passed 97 ms 0.94 ms 96 ms 0.27 ms Libraries 10
starter_packs/tests.py::TestPinAccountInStarterPack::test_readding_account_swaps_pin_button_to_enabled_unpinned
passed 96 ms 0.82 ms 95 ms 0.28 ms Database 50
14 repeated
confs/tests.py::TestConferencePage::test_conference_with_pacific_with_date_no_posts
passed 95 ms 0.80 ms 94 ms 0.27 ms Libraries 12
starter_packs/tests.py::TestEditStarterPack::test_edit_starter_pack_post
passed 94 ms 0.89 ms 93 ms 0.49 ms Libraries 34
9 repeated
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_rejects_too_many_languages
passed 94 ms 0.78 ms 93 ms 0.97 ms Libraries 25
starter_packs/tests.py::TestOwnerManagement::test_search_excludes_existing_owners
passed 94 ms 0.99 ms 93 ms 0.32 ms Libraries 29
starter_packs/tests.py::TestShareStarterPack::test_order_by_htmx_swaps_account_list
passed 94 ms 1 ms 93 ms 0.29 ms Libraries 19
5 repeated
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack
passed 94 ms 0.68 ms 93 ms 0.57 ms Database 38
6 repeated
starter_packs/tests.py::TestShareStarterPack::test_order_by_3___last_active____4__3__2__1__0__
passed 93 ms 0.77 ms 92 ms 0.40 ms Libraries 20
5 repeated
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_other_pages_keep_unknown_query_params
passed 92 ms 0.80 ms 91 ms 0.47 ms Libraries 10
3 repeated
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_rejects_unknown_language
passed 91 ms 21 ms 70 ms 0.29 ms Database 29
starter_packs/tests.py::TestShareStarterPack::test_order_by_4___newest_account____0__1__2__3__4__
passed 91 ms 0.85 ms 90 ms 0.26 ms Libraries 20
5 repeated
starter_packs/tests.py::TestShareStarterPack::test_api_formats_2___application_activity_json____application_activity_json__
passed 89 ms 1 ms 87 ms 0.31 ms Libraries 10
starter_packs/tests.py::TestToggleStarterPackAccount::test_remove_account
passed 87 ms 1 ms 85 ms 0.29 ms Libraries 37
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_date_only_last_status_at_is_stored_as_aware
passed 86 ms 11 ms 74 ms 0.49 ms Database 32
starter_packs/tests.py::TestOwnerManagement::test_cannot_remove_last_owner
passed 85 ms 0.82 ms 84 ms 0.32 ms Libraries 28
3 repeated
fedidevs/tests.py::TestAnonymousCacheAndCsrf::test_anonymous_post_without_csrf_is_rejected
passed 85 ms 11 ms 74 ms 0.26 ms Libraries 7
starter_packs/tests.py::TestOwnerManagement::test_search_excludes_invited_users
passed 85 ms 0.90 ms 84 ms 0.29 ms Libraries 29
confs/tests.py::TestMigratedLegacyConferences::test_fwd50_page
passed 84 ms 0.93 ms 83 ms 0.25 ms Libraries 11
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_defaults_to_no_languages
passed 83 ms 1 ms 82 ms 0.32 ms Libraries 29
starter_packs/tests.py::TestOwnerManagement::test_only_invited_user_can_accept
passed 83 ms 0.96 ms 82 ms 0.26 ms Libraries 31
starter_packs/tests.py::TestShareStarterPack::test_api_formats_1___application_ld_json__profile__https___www_w3_org_ns_activitystreams_____application_activity_json__
passed 83 ms 1 ms 81 ms 0.64 ms Libraries 10
stats/tests.py::TestStats::test_store_daily_stats_with_accounts
passed 83 ms 0.86 ms 79 ms 3 ms Database 104
88 repeated
accounts/tests.py::TestSelectedInstance::test_selected_instance_http_truncate
passed 82 ms 0.94 ms 81 ms 0.42 ms Libraries 13
accounts/tests.py::TestSelectedInstance::test_selected_instance_slash_truncate
passed 82 ms 0.87 ms 81 ms 0.25 ms Libraries 13
starter_packs/tests.py::TestOwnerManagement::test_decline_invitation_removes_it
passed 82 ms 0.76 ms 81 ms 0.60 ms Libraries 27
starter_packs/tests.py::TestCreateStarterPack::test_create_page
passed 82 ms 21 ms 61 ms 0.24 ms Libraries 11
starter_packs/tests.py::TestPinAccountInStarterPack::test_toggle_pin_requires_ownership
passed 82 ms 0.81 ms 76 ms 5 ms Libraries 25
accounts/tests.py::TestSelectedInstance::test_selected_instance
passed 81 ms 0.97 ms 80 ms 0.25 ms Libraries 13
starter_packs/tests.py::TestOwnerManagement::test_non_owner_cannot_open_manage_page
passed 81 ms 0.65 ms 80 ms 0.31 ms Libraries 23
starter_packs/tests.py::TestOwnerManagement::test_non_owner_cannot_cancel_invitation
passed 80 ms 0.94 ms 79 ms 0.26 ms Libraries 25
starter_packs/tests.py::TestPinAccountInStarterPack::test_pin_button_shown_on_review_page
passed 79 ms 0.93 ms 78 ms 0.28 ms Libraries 29
starter_packs/tests.py::TestShareStarterPack::test_order_by_2___recently_added____0__1__2__3__4__
passed 78 ms 0.70 ms 77 ms 0.27 ms Database 20
5 repeated
starter_packs/tests.py::TestEditStarterPack::test_edit_starter_packs
passed 78 ms 0.67 ms 77 ms 0.27 ms Libraries 25
starter_packs/tests.py::TestEditStarterPack::test_not_owned_starter_pack
passed 78 ms 1 ms 76 ms 0.99 ms Libraries 24
starter_packs/tests.py::TestShareStarterPack::test_header_shows_gradient_and_account_avatars
passed 78 ms 0.71 ms 77 ms 0.29 ms Database 14
starter_packs/tests.py::TestStarterPacks::test_index_page_logged_in
passed 78 ms 0.66 ms 77 ms 0.31 ms Libraries 26
starter_packs/tests.py::TestShareStarterPack::test_order_by_1___followers____4__3__2__1__0__
passed 77 ms 0.72 ms 76 ms 0.40 ms Libraries 20
5 repeated
starter_packs/tests.py::TestOwnerManagement::test_search_finds_logged_in_user
passed 76 ms 0.74 ms 72 ms 4 ms Libraries 28
starter_packs/tests.py::TestOwnerManagement::test_creator_removed_from_owners_loses_access
passed 76 ms 1 ms 74 ms 0.74 ms Libraries 25
starter_packs/tests.py::TestStarterPacks::test_index_page_with_own_starter_packs
passed 75 ms 0.69 ms 75 ms 0.24 ms Libraries 30
starter_packs/tests.py::TestPinAccountInStarterPack::test_pin_button_shown_on_add_accounts_page
passed 75 ms 0.72 ms 74 ms 0.46 ms Database 29
starter_packs/tests.py::TestOwnerManagement::test_manage_owners_page
passed 75 ms 0.75 ms 74 ms 0.26 ms Libraries 27
starter_packs/tests.py::TestRemoteFollowStarterPack::test_share_page_shows_remote_follow_form_when_logged_out
passed 75 ms 0.78 ms 73 ms 2 ms Libraries 11
starter_packs/tests.py::TestShareStarterPack::test_api_formats_6___text_html____text_html__
passed 75 ms 0.75 ms 73 ms 0.28 ms Database 12
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_token_response_without_scope_still_logs_in
passed 74 ms 0.72 ms 73 ms 0.26 ms Mocking 33
starter_packs/tests.py::TestShareStarterPack::test_non_discoverable_accounts
passed 74 ms 0.79 ms 73 ms 0.28 ms Libraries 19
5 repeated
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_pleroma_granular_scope_mismatch_still_logs_in
passed 74 ms 0.76 ms 73 ms 0.30 ms Mocking 32
starter_packs/tests.py::TestRemoteFollowStarterPack::test_deleted_pack_404
passed 74 ms 18 ms 56 ms 0.26 ms Libraries 10
stats/tests.py::TestStats::test_store_daily_stats
passed 74 ms 0.67 ms 72 ms 0.58 ms Database 102
88 repeated
starter_packs/tests.py::TestShareStarterPack::test_sort_select_avoids_inline_js
passed 73 ms 0.71 ms 69 ms 4 ms Libraries 12
fedidevs/tests.py::TestAccountIndexQueryParams::test_language_index_strips_unknown_params
passed 73 ms 1 ms 71 ms 0.53 ms Libraries –
starter_packs/tests.py::TestOwnerManagement::test_invite_without_account_access_is_rejected
passed 73 ms 0.78 ms 71 ms 0.28 ms Libraries 28
fedidevs/tests.py::TestAccountIndexQueryParams::test_unknown_root_param_is_301ed
passed 72 ms 1 ms 70 ms 1 ms Libraries –
accounts/tests.py::TestStaticPages::test_faq
passed 72 ms 0.70 ms 71 ms 0.99 ms Libraries 7
starter_packs/tests.py::TestOwnerManagement::test_added_owner_who_is_not_creator_can_edit
passed 72 ms 0.72 ms 71 ms 0.30 ms Libraries 26
starter_packs/tests.py::TestDeleteStarterPack::test_delete_confirmation
passed 72 ms 1 ms 71 ms 0.28 ms Libraries 25
starter_packs/tests.py::TestStarterPacks::test_language_filter_only_lists_used_languages
passed 72 ms 0.78 ms 67 ms 5 ms Libraries 15
starter_packs/tests.py::TestShareStarterPack::test_languages_hidden_when_unset
passed 72 ms 0.83 ms 70 ms 0.30 ms Libraries 12
starter_packs/tests.py::TestShareStarterPack::test_share_starter_pack
passed 72 ms 0.69 ms 71 ms 0.30 ms Database 18
6 repeated
accounts/tests.py::TestAccountIndexRobots::test_unfaceted_root_index_is_indexable
passed 71 ms 0.73 ms 69 ms 1 ms Libraries 8
starter_packs/tests.py::TestCreateStarterPack::test_create_page_logged_in
passed 71 ms 0.73 ms 70 ms 0.25 ms Libraries 24
starter_packs/tests.py::TestStarterPacks::test_index_page_unknown_language_ignored
passed 71 ms 0.83 ms 70 ms 0.24 ms Libraries 15
starter_packs/tests.py::TestShareStarterPack::test_api_formats_7___text_plain____text_html__
passed 71 ms 0.67 ms 70 ms 0.27 ms Libraries 12
starter_packs/tests.py::TestShareStarterPack::test_languages_shown_when_set
passed 70 ms 0.81 ms 69 ms 0.36 ms Database 13
mastodon_auth/tests.py::MastodonLoginViewTests::test_create_app_failure_without_existing_credentials_errors
passed 70 ms 10 ms 60 ms 0.28 ms Mocking 7
starter_packs/tests.py::TestOwnerManagement::test_non_owner_cannot_invite
passed 69 ms 0.70 ms 68 ms 0.28 ms Libraries 23
accounts/tests.py::TestSelectedInstance::test_no_selected_instance
passed 69 ms 0.93 ms 68 ms 0.30 ms Libraries 12
starter_packs/tests.py::TestDeleteStarterPack::test_not_logged_in
passed 69 ms 0.84 ms 68 ms 0.32 ms Libraries 7
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_pleroma_null_account_fields_are_coerced
passed 69 ms 0.87 ms 68 ms 0.26 ms Mocking 33
starter_packs/tests.py::TestEditStarterPack::test_edit_starter_pack_languages
passed 69 ms 0.77 ms 67 ms 0.51 ms Database 26
starter_packs/tests.py::TestEditStarterPack::test_not_logged_in
passed 68 ms 0.68 ms 67 ms 0.26 ms Libraries 7
confs/tests.py::TestMigratedLegacyConferences::test_fwd50_date_redirects
passed 68 ms 0.97 ms 66 ms 0.29 ms Libraries 5
starter_packs/tests.py::TestOwnerManagement::test_owner_cancels_invitation
passed 68 ms 0.88 ms 66 ms 0.28 ms Libraries 28
starter_packs/tests.py::TestOwnerManagement::test_owner_handles_shown_on_list_card
passed 67 ms 0.68 ms 63 ms 3 ms Libraries 17
starter_packs/tests.py::TestPinAccountInStarterPack::test_toggle_pin_and_unpin
passed 67 ms 0.66 ms 66 ms 0.25 ms Libraries 33
3 repeated
confs/tests.py::TestConferencePage::test_conference_utc_with_no_filter
passed 67 ms 0.90 ms 65 ms 0.49 ms Libraries 16
starter_packs/tests.py::TestDeleteStarterPack::test_not_owned_starter_pack
passed 66 ms 0.94 ms 65 ms 0.72 ms Database 24
posts/tests.py::TestSubscribePages::test_subscribe_success_uses_tailwind_layout
passed 65 ms 10 ms 55 ms 0.33 ms Libraries 6
mastodon_auth/tests.py::MastodonLoginFormTests::test_cleans_instance_to_ascii_hostname
passed 65 ms 13 ms 51 ms 0.25 ms Imports 5
confs/tests.py::TestMigratedLegacyConferences::test_djangoconafrica_date_redirects
passed 64 ms 0.97 ms 63 ms 0.33 ms Libraries 5
accounts/tests.py::TestAccountIndexRobots::test_two_facets_are_noindex
passed 64 ms 0.81 ms 63 ms 0.26 ms Libraries 8
starter_packs/tests.py::TestCreateStarterPack::test_form_error
passed 64 ms 0.69 ms 59 ms 4 ms Libraries 25
accounts/tests.py::TestAccountIndexRobots::test_selected_instance_is_noindex
passed 64 ms 0.66 ms 59 ms 4 ms Libraries 12
starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack_with_languages
passed 63 ms 0.72 ms 62 ms 0.30 ms Database 29
starter_packs/tests.py::TestOwnerManagement::test_accept_invitation_makes_owner
passed 63 ms 0.89 ms 62 ms 0.26 ms Libraries 30
posts/tests.py::TestSubscribePages::test_subscribe_uses_tailwind_layout
passed 63 ms 0.79 ms 58 ms 4 ms Libraries 6
starter_packs/tests.py::TestRemoteFollowStarterPack::test_redirects_to_subscribe_url
passed 63 ms 0.64 ms 61 ms 1 ms Mocking 6
accounts/tests.py::TestActivityPubActor::test_actor_to_account_defaults_maps_bridged_actor
passed 63 ms 0.48 ms 0.18 ms 62 ms DB schema 1
starter_packs/tests.py::TestFollowBg::test_continues_after_other_errors
passed 62 ms 43 ms 19 ms 0.48 ms Database 25
12 repeated
starter_packs/tests.py::TestRemoteFollowStarterPack::test_error_when_no_subscribe_endpoint
passed 62 ms 0.66 ms 61 ms 0.23 ms Mocking 12
starter_packs/tests.py::TestShareStarterPack::test_api_activitypub_leaves_out_accounts_without_activitypub_id
passed 61 ms 0.73 ms 60 ms 0.29 ms Libraries 14
posts/tests.py::TestDjangoConUSLegacyRedirect::test_djangoconus_date_redirects
passed 61 ms 10 ms 50 ms 0.27 ms Libraries 5
accounts/tests.py::TestAccountIndexRobots::test_deep_pagination_is_noindex
passed 59 ms 1 ms 58 ms 0.25 ms Libraries 8
starter_packs/tests.py::TestRemoteFollowStarterPack::test_mastodon_handle_is_told_to_log_in
passed 59 ms 0.66 ms 59 ms 0.22 ms Mocking 12
accounts/tests.py::TestAccountIndexRobots::test_full_facet_product_is_noindex
passed 59 ms 1 ms 58 ms 0.24 ms Libraries 8
mastodon_auth/tests.py::MastodonLoginViewTests::test_create_app_rate_limited_reuses_existing_credentials
passed 59 ms 1 ms 57 ms 0.27 ms Mocking 8
starter_packs/tests.py::TestEditStarterPackAccounts::test_not_owned_starter_pack
passed 58 ms 0.84 ms 54 ms 4 ms Database 24
fedidevs/tests.py::TestAccountIndexQueryParams::test_empty_q_is_preserved
passed 58 ms 0.97 ms 57 ms 0.30 ms Libraries –
accounts/tests.py::TestAccountIndexRobots::test_paginated_single_facet_is_noindex
passed 58 ms 0.67 ms 57 ms 0.23 ms Libraries 8
mastodon_auth/tests.py::RedirectToLocalViewTests::test_valid_query_redirects_unauthenticated_users_to_target
passed 58 ms 0.74 ms 54 ms 3 ms Libraries 5

Slowest fixtures

Exact setup time across the session
Fixture Scope Calls Total Max
_django_setup_unittest class 68 18.61 s 4.71 s
django_db_setup session 4 18.58 s 4.71 s
_unittest_setUpClass_fixture_TestSelectedInstance class 1 106 ms 106 ms
_unittest_setUpClass_fixture_TestShareStarterPack class 2 100 ms 52 ms
_unittest_setUpClass_fixture_TestConferencePage class 2 84 ms 57 ms
_unittest_setUpClass_fixture_TestOwnerManagement class 2 71 ms 36 ms
_unittest_setUpClass_fixture_TestPinAccountInStarterPack class 2 64 ms 32 ms
_unittest_setUpClass_fixture_TestWebfingerBackfill class 1 54 ms 54 ms
_unittest_setUpClass_fixture_TestFollowStarterPack class 1 42 ms 42 ms
_unittest_setUpClass_fixture_TestFollowBg class 1 41 ms 41 ms
_unittest_setUpClass_fixture_TestCreateStarterPack class 2 39 ms 20 ms
_unittest_setUpClass_fixture_TestRemoteFollowStarterPack class 2 33 ms 16 ms
_unittest_setUpClass_fixture_TestAddAccountsSearch class 1 28 ms 28 ms
_unittest_setUpClass_fixture_TestStarterPacks class 1 26 ms 26 ms
_unittest_setUpClass_fixture_TestEditStarterPack class 1 26 ms 26 ms