flakytest.dev anze3db flakytest
Tests / apps/guides/tests.py

TestGuidePages::test_old_mute_page_redirects

First seen 2 weeks, 2 days ago in b3fedae
CI github-actions:test 6 runs
Average
30 ms
median 31 ms
max 43 ms
Phases
Setup 0.58 ms Call 30 ms Teardown 0.18 ms
Categories
Database 2 ms Test code 0.18 ms Other (Libraries, Unsampled, pytest) 28 ms

5 database queries per run

Needs 35 KB of memory (max 196 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 16 hours ago · open run
Show pytest frames
call42 ms97.9%
TestGuidePages.test_old_mute_page_redirectsapps/guides/tests.py:146 response = self.client.get(reverse("mute"))40 ms92.5%
Client.getdjango/test/client.py:112440 ms92.5%
RequestFactory.getdjango/test/client.py:47540 ms92.5%
RequestFactory.genericdjango/test/client.py:67140 ms92.5%
Client.requestdjango/test/client.py:108240 ms92.5%
ClientHandler.__call__django/test/client.py:17340 ms92.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6240 ms92.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10440 ms92.5%
WhiteNoise.add_fileswhitenoise/base.py:10840 ms92.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12035 ms81.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13135 ms81.6%
WhiteNoise.get_static_filewhitenoise/base.py:20835 ms81.6%
StaticFile.__init__whitenoise/responders.py:7228 ms65.3%
StaticFile.get_file_statswhitenoise/responders.py:16128 ms65.3%
__init____init__:-128 ms65.3%
FileEntry.__init__whitenoise/responders.py:26028 ms65.3%
<GC>~28 ms65.3%
StaticFile.__init__whitenoise/responders.py:765 ms10.9%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1885 ms10.9%
StaticFile.__init__whitenoise/responders.py:742 ms5.4%
parsedate<stdlib>/email/_parseaddr.py:1852 ms5.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms10.9%
scantreewhitenoise/base.py:2625 ms10.9%
scantreewhitenoise/base.py:2625 ms10.9%
scantreewhitenoise/base.py:2622 ms5.4%
scantreewhitenoise/base.py:2622 ms5.4%
scantreewhitenoise/base.py:2622 ms5.4%
scantreewhitenoise/base.py:2602 ms5.4%
scantreewhitenoise/base.py:2642 ms5.4%
TransactionTestCase._pre_setupdjango/test/testcases.py:1164 cls._fixture_setup()2 ms5.4%
TestCase._fixture_setupdjango/test/testcases.py:14782 ms5.4%
TestCase._enter_atomicsdjango/test/testcases.py:13962 ms5.4%
Atomic.__enter__django/db/transaction.py:2112 ms5.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms5.4%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms5.4%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms5.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms5.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms5.4%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms5.4%
Cursor.executepsycopg/cursor.py:1132 ms5.4%
Connection.waitpsycopg/connection.py:4952 ms5.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms5.4%
Estimated from 18 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

apps/guides/tests.py:146
response = self.client.get(reverse("mute"))
TestGuidePages.test_old_mute_page_redirects · Libraries
40 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.05 ms
_django_db_marker function 0.04 ms
_template_string_if_invalid_marker function 0.04 ms
_django_set_urlconf function 0.04 ms
_django_clear_site_cache function 0.03 ms
_live_server_helper function 0.03 ms
monkeypatch function 0.02 ms

Database

5 queries · 2 ms
No repeated queries.

Biggest pieces of work

call test body
apps/guides/tests.py:146
40 ms
call _pre_setup
django/test/testcases.py:1164
2 ms

Reliability

6 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 6 results, oldest first in the strip
When Environment Outcome Duration Commit
16 hours ago CI github-actions:test passed 43 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 15 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 34 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 28 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 43 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 18 ms b3fedae main Profile