flakytest.dev anze3db fedidevs
All environments · last 7 days

Tests

301 tests, slowest first

Average duration in all environments
Test and why it's slow Avg Phases Queries Runs
confs/tests.py::TestMigratedLegacyConferences::test_fwd50_date_redirects
90% libraries · test body confs/tests.py:163
150 ms
max 262 ms
setup 1 ms · call 148 ms
5 4
mastodon_auth/tests.py::ParseDtTests::test_date_only_string_becomes_aware_midnight
98% db schema · fixture django_db_setup (session scope) pytest_django/fixtures.py:199
147 ms
max 579 ms
setup 2 ms · call 0.30 ms
1 4
starter_packs/tests.py::TestDeleteStarterPack::test_not_owned_starter_pack
75% libraries · test body starter_packs/tests.py:334
146 ms
max 223 ms
setup 2 ms · call 140 ms
24 4
starter_packs/tests.py::TestEditStarterPack::test_edit_starter_packs
74% libraries · test body starter_packs/tests.py:203
145 ms
max 218 ms
setup 2 ms · call 143 ms
25 4
starter_packs/tests.py::TestRemoteFollowStarterPack::test_redirects_to_subscribe_url
92% mocking · test body starter_packs/tests.py:1257
145 ms
max 230 ms
setup 1 ms · call 143 ms
6 4
starter_packs/tests.py::TestDeleteStarterPack::test_not_logged_in
90% libraries · test body starter_packs/tests.py:328
145 ms
max 242 ms
setup 2 ms · call 143 ms
7 4
mastodon_auth/tests.py::MastodonLoginViewTests::test_invalid_instance_redirects_before_http_request
93% mocking · test body mastodon_auth/tests.py:120
145 ms
max 190 ms
setup 4 ms · call 140 ms
5 4
mastodon_auth/tests.py::MastodonLoginFormTests::test_cleans_instance_to_ascii_hostname
75% imports · test body mastodon_auth/tests.py:99
143 ms
max 195 ms
setup 20 ms · call 123 ms
5 4
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_unknown_state_is_logged_as_warning_not_error
89% libraries · test body mastodon_auth/tests.py:621
141 ms
max 223 ms
setup 4 ms · call 136 ms
5 4
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_keyerror_without_token_errors
90% mocking · test body mastodon_auth/tests.py:403
141 ms
max 198 ms
setup 3 ms · call 138 ms
8 4
fedidevs/tests.py::TestAccountIndexQueryParams::test_unknown_param_is_stripped_from_faceted_url
98% libraries · test body fedidevs/tests.py:29
141 ms
max 200 ms
setup 2 ms · call 139 ms
– 4
mastodon_auth/tests.py::RedirectToLocalViewTests::test_valid_query_redirects_unauthenticated_users_to_target
92% libraries · test body mastodon_auth/tests.py:52
140 ms
max 185 ms
setup 1 ms · call 135 ms
5 4
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_token_exchange_failure_without_token_errors
91% mocking · test body mastodon_auth/tests.py:520
139 ms
max 202 ms
setup 1 ms · call 137 ms
8 4
fedidevs/tests.py::TestRobotsTxt::test_disallows_query_strings_except_googlebot
98% libraries · test body fedidevs/tests.py:13
138 ms
max 205 ms
setup 1 ms · call 136 ms
– 4
posts/tests.py::TestDjangoConUSLegacyRedirect::test_djangoconus_redirects_to_conference_page
92% libraries · test body posts/tests.py:25
135 ms
max 180 ms
setup 2 ms · call 130 ms
5 4
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_oauth_access_denied_is_logged_as_warning_not_error
93% libraries · test body mastodon_auth/tests.py:596
135 ms
max 172 ms
setup 3 ms · call 131 ms
5 4
posts/tests.py::TestDjangoConUSLegacyRedirect::test_djangoconus_date_redirects
85% libraries · test body posts/tests.py:30
135 ms
max 193 ms
setup 18 ms · call 117 ms
5 4
mastodon_auth/tests.py::MastodonLoginViewTests::test_create_app_rate_limited_reuses_existing_credentials
91% mocking · test body mastodon_auth/tests.py:145
135 ms
max 192 ms
setup 2 ms · call 132 ms
8 4
mastodon_auth/tests.py::RedirectToLocalViewTests::test_invalid_query_redirects_to_home
77% libraries · test body mastodon_auth/tests.py:47
134 ms
max 196 ms
setup 21 ms · call 112 ms
5 4
starter_packs/tests.py::TestEditStarterPack::test_not_logged_in
86% libraries · test body starter_packs/tests.py:192
127 ms
max 179 ms
setup 2 ms · call 125 ms
7 4
fedidevs/tests.py::TestAccountIndexQueryParams::test_unknown_root_param_is_301ed
97% libraries · test body fedidevs/tests.py:25
126 ms
max 232 ms
setup 2 ms · call 124 ms
– 4
starter_packs/tests.py::TestRemoteFollowStarterPack::test_share_page_shows_remote_follow_form_when_logged_out
66% libraries · test body starter_packs/tests.py:1240
123 ms
max 190 ms
setup 2 ms · call 117 ms
11 4
mastodon_auth/tests.py::MastodonAuthCallbackTests::test_missing_code_state_is_logged_at_error
96% libraries · test body mastodon_auth/tests.py:610
119 ms
max 164 ms
setup 2 ms · call 117 ms
5 4
confs/tests.py::TestMigratedLegacyConferences::test_djangoconafrica_date_redirects
93% libraries · test body confs/tests.py:176
116 ms
max 208 ms
setup 2 ms · call 114 ms
5 4
starter_packs/tests.py::TestFollowBg::test_continues_after_other_errors
82% database · setUpClass django/test/testcases.py:1426
113 ms
max 155 ms
setup 79 ms · call 34 ms
25
12 repeated
4
fedidevs/tests.py::TestAccountIndexQueryParams::test_language_index_strips_unknown_params
98% libraries · test body fedidevs/tests.py:37
109 ms
max 146 ms
setup 2 ms · call 107 ms
– 4
mastodon_auth/tests.py::RegisterAppTests::test_raises_with_status_code_on_429
95% db schema
103 ms
max 401 ms
setup 2 ms · call 2 ms
1 4
confs/tests.py::TestSyncAnnouncements::test_creates_and_links_start_and_end_announcements
60% database · test body confs/tests.py:940
89 ms
max 130 ms
setup 20 ms · call 70 ms
13 4
stats/tests.py::TestStarterPackStats::test_starter_pack_stats
90% database · test body stats/tests.py:173
83 ms
max 113 ms
setup 21 ms · call 59 ms
25
15 repeated
4
announcements/tests.py::TestPostAnnouncements::test_does_not_repost_already_posted
51% database · test body announcements/tests.py:73
73 ms
max 101 ms
setup 25 ms · call 48 ms
10 4
confs/tests.py::TestResolveLegacyAccountsAndPosts::test_creates_account_when_neither_url_nor_pair_match
92% database · test body confs/tests.py:302
48 ms
max 71 ms
setup 20 ms · call 28 ms
12 4
confs/tests.py::TestSyncAnnouncements::test_variation_is_stable_across_resyncs
62% database · test body confs/tests.py:976
46 ms
max 70 ms
setup 3 ms · call 40 ms
17
4 repeated
4
confs/tests.py::TestSyncAnnouncements::test_leaves_already_posted_announcements_untouched
81% database · test body confs/tests.py:1036
42 ms
max 57 ms
setup 2 ms · call 40 ms
17
3 repeated
4
confs/tests.py::TestSyncAnnouncements::test_is_idempotent_and_refreshes_unposted_content
81% database · test body confs/tests.py:1010
40 ms
max 49 ms
setup 3 ms · call 36 ms
18
4 repeated
4
accounts/tests.py::TestActivityPubActor::test_actor_to_account_defaults_maps_bridged_actor
92% db schema · fixture django_db_setup (session scope) pytest_django/fixtures.py:199
40 ms
max 89 ms
setup 2 ms · call 0.30 ms
1 4
confs/tests.py::TestSyncAnnouncements::test_post_at_uses_conference_timezone
75% database · test body confs/tests.py:987
32 ms
max 50 ms
setup 4 ms · call 28 ms
12 4
confs/tests.py::TestResolveLegacyAccountsAndPosts::test_match_existing_post_by_post_id_and_account
70% database · test body confs/tests.py:360
32 ms
max 42 ms
setup 6 ms · call 25 ms
10 4
confs/tests.py::TestResolveLegacyAccountsAndPosts::test_resolve_posts_does_not_scan_or_join_accounts_by_url
75% database · test body confs/tests.py:376
32 ms
max 45 ms
setup 5 ms · call 24 ms
9 4
confs/tests.py::TestSyncAnnouncements::test_uses_one_of_the_message_variations
77% database · test body confs/tests.py:963
31 ms
max 42 ms
setup 3 ms · call 28 ms
13 4
confs/tests.py::TestPostsAfterDatetime::test_aware_start_of_day_in_conference_timezone
65% database · setUpClass django/test/testcases.py:1426
31 ms
max 40 ms
setup 18 ms · call 12 ms
6 4
stats/tests.py::TestStats::test_all_daily_lang_stats
92% database · setUpClass django/test/testcases.py:1426
30 ms
max 39 ms
setup 24 ms · call 6 ms
5 4
announcements/tests.py::TestPostAnnouncements::test_dry_run_is_the_default
55% database · test body announcements/tests.py:46
30 ms
max 39 ms
setup 3 ms · call 27 ms
9 4
accounts/tests.py::TestParseDiscoverable::test_top_level_false_wins_over_nested
95% db schema
28 ms
max 108 ms
setup 0.98 ms · call 0.20 ms
1 4
starter_packs/tests.py::TestParseHandle::test_invalid_handles
86% database · setUpClass django/test/testcases.py:1426
28 ms
max 34 ms
setup 19 ms · call 7 ms
5 4
announcements/tests.py::TestPostAnnouncements::test_skips_when_token_missing
62% database · test body announcements/tests.py:92
28 ms
max 41 ms
setup 3 ms · call 22 ms
8 4
starter_packs/tests.py::TestFollowBg::test_stops_after_unauthorized
81% database · test body starter_packs/tests.py:1367
28 ms
max 38 ms
setup 5 ms · call 19 ms
10 4
starter_packs/tests.py::TestGetSubscribeUrl::test_no_subscribe_link
87% database · setUpClass django/test/testcases.py:1426
27 ms
max 36 ms
setup 21 ms · call 6 ms
5 4
starter_packs/tests.py::TestParseHandle::test_valid_handles
61% database · _post_teardown django/test/testcases.py:1243
27 ms
max 52 ms
setup 14 ms · call 12 ms
5 4
confs/tests.py::TestSyncAnnouncements::test_skips_past_and_archived_conferences
61% database · test body confs/tests.py:997
26 ms
max 35 ms
setup 4 ms · call 21 ms
9 4
confs/tests.py::TestMigratedLegacyConferences::test_account_kwargs_from_json
80% database · setUpClass django/test/testcases.py:1426
22 ms
max 28 ms
setup 16 ms · call 5 ms
5 4