flakytest.dev anze3db flakytest
Tests / ft/tests.py

TestAccountPages::test_static_pages

First seen 1 month, 1 week ago in 78a4357
CI github-actions:test 15 runs
Average
46 ms
median 50 ms
max 65 ms
Phases
Setup 0.66 ms Call 45 ms Teardown 0.87 ms
Categories
Database 5 ms Other (Libraries, Templates, Unsampled, pytest) 42 ms

5 database queries per run

Needs 293 KB of memory (max 932 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call41 ms97.4%
TestAccountPages.test_static_pagesft/tests.py:175 response = self.client.get(reverse(name))41 ms97.4%
Client.getdjango/test/client.py:112441 ms97.4%
RequestFactory.getdjango/test/client.py:47541 ms97.4%
RequestFactory.genericdjango/test/client.py:67141 ms97.4%
Client.requestdjango/test/client.py:108241 ms97.4%
ClientHandler.__call__django/test/client.py:18624 ms57.3%
BaseHandler.get_responsedjango/core/handlers/base.py:14124 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:13024 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30924 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12324 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30924 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30924 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30924 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30924 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30924 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30924 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:3424 ms57.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5524 ms57.3%
BaseHandler._get_responsedjango/core/handlers/base.py:19824 ms57.3%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:19024 ms57.3%
tosft/urls.py:84 return render(request, "tos.html")15 ms34.4%
renderdjango/shortcuts.py:2515 ms34.4%
render_to_stringdjango/template/loader.py:617 ms17.2%
get_templatedjango/template/loader.py:157 ms17.2%
DjangoTemplates.get_templatedjango/template/backends/django.py:797 ms17.2%
Engine.get_templatedjango/template/engine.py:1867 ms17.2%
Engine.find_templatedjango/template/engine.py:1597 ms17.2%
Loader.get_templatedjango/template/loaders/cached.py:577 ms17.2%
Loader.get_templatedjango/template/loaders/base.py:285 ms11.5%
__init____init__:-15 ms11.5%
Template.__init__django/template/base.py:1575 ms11.5%
Template.compile_nodelistdjango/template/base.py:1902 ms5.7%
DebugLexer.tokenizedjango/template/base.py:4952 ms5.7%
Lexer.create_tokendjango/template/base.py:4462 ms5.7%
Template.compile_nodelistdjango/template/base.py:1992 ms5.7%
Parser.parsedjango/template/base.py:5832 ms5.7%
do_extendsdjango/template/loader_tags.py:3072 ms5.7%
Parser.parsedjango/template/base.py:5472 ms5.7%
Loader.get_templatedjango/template/loaders/base.py:232 ms5.7%
Loader.get_contentsdjango/template/loaders/cached.py:262 ms5.7%
Loader.get_contentsdjango/template/loaders/filesystem.py:222 ms5.7%
render_to_stringdjango/template/loader.py:627 ms17.2%
Template.renderdjango/template/backends/django.py:1077 ms17.2%
Template.renderdjango/template/base.py:1747 ms17.2%
instrumented_test_renderdjango/test/utils.py:1145 ms11.5%
NodeList.renderdjango/template/base.py:10915 ms11.5%
Node.render_annotateddjango/template/base.py:10525 ms11.5%
ExtendsNode.renderdjango/template/loader_tags.py:1605 ms11.5%
instrumented_test_renderdjango/test/utils.py:1145 ms11.5%
NodeList.renderdjango/template/base.py:10915 ms11.5%
Node.render_annotateddjango/template/base.py:10525 ms11.5%
ExtendsNode.renderdjango/template/loader_tags.py:1522 ms5.7%
NodeList.get_nodes_by_typedjango/template/base.py:10972 ms5.7%
Node.get_nodes_by_typedjango/template/base.py:10792 ms5.7%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms5.7%
instrumented_test_renderdjango/test/utils.py:1142 ms5.7%
NodeList.renderdjango/template/base.py:10912 ms5.7%
Node.render_annotateddjango/template/base.py:10522 ms5.7%
StaticNode.renderdjango/templatetags/static.py:1162 ms5.7%
StaticNode.urldjango/templatetags/static.py:1132 ms5.7%
StaticNode.handle_simpledjango/templatetags/static.py:1292 ms5.7%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms5.7%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms5.7%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1842 ms5.7%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:5342 ms5.7%
instrumented_test_renderdjango/test/utils.py:1132 ms5.7%
Signal.senddjango/dispatch/dispatcher.py:2092 ms5.7%
store_rendered_templatesdjango/test/client.py:2752 ms5.7%
vary_on_headers.<locals>.decorator.<locals>._view_wrapperdjango/views/decorators/vary.py:3110 ms22.9%
get_startedft/urls.py:51 return render(request, "get_started.html", {"logged_in": request.user.is_authenticated})10 ms22.9%
renderdjango/shortcuts.py:2510 ms22.9%
render_to_stringdjango/template/loader.py:6210 ms22.9%
Template.renderdjango/template/backends/django.py:10710 ms22.9%
Template.renderdjango/template/base.py:17410 ms22.9%
instrumented_test_renderdjango/test/utils.py:11410 ms22.9%
NodeList.renderdjango/template/base.py:109110 ms22.9%
Node.render_annotateddjango/template/base.py:105210 ms22.9%
ExtendsNode.renderdjango/template/loader_tags.py:16010 ms22.9%
instrumented_test_renderdjango/test/utils.py:11410 ms22.9%
NodeList.renderdjango/template/base.py:109110 ms22.9%
Node.render_annotateddjango/template/base.py:105210 ms22.9%
ExtendsNode.renderdjango/template/loader_tags.py:16010 ms22.9%
instrumented_test_renderdjango/test/utils.py:11410 ms22.9%
NodeList.renderdjango/template/base.py:109110 ms22.9%
Node.render_annotateddjango/template/base.py:105210 ms22.9%
BlockNode.renderdjango/template/loader_tags.py:6610 ms22.9%
NodeList.renderdjango/template/base.py:109110 ms22.9%
Node.render_annotateddjango/template/base.py:105210 ms22.9%
BlockNode.renderdjango/template/loader_tags.py:667 ms17.2%
NodeList.renderdjango/template/base.py:10915 ms11.5%
Node.render_annotateddjango/template/base.py:10525 ms11.5%
BlockNode.renderdjango/template/loader_tags.py:665 ms11.5%
NodeList.renderdjango/template/base.py:10915 ms11.5%
Node.render_annotateddjango/template/base.py:10522 ms5.7%
SimpleNode.renderdjango/template/library.py:3252 ms5.7%
heroicon_outlineheroicons/templatetags/heroicons.py:232 ms5.7%
_render_iconheroicons/templatetags/heroicons.py:392 ms5.7%
_render_iconheroicons/__init__.py:632 ms5.7%
tostring<stdlib>/xml/etree/ElementTree.py:11062 ms5.7%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7452 ms5.7%
_serialize_xml<stdlib>/xml/etree/ElementTree.py:8752 ms5.7%
URLNode.renderdjango/template/defaulttags.py:5112 ms5.7%
reversedjango/urls/base.py:392 ms5.7%
ClientHandler.__call__django/test/client.py:17317 ms40.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6217 ms40.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10417 ms40.1%
WhiteNoise.add_fileswhitenoise/base.py:10817 ms40.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12010 ms22.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13110 ms22.9%
WhiteNoise.get_static_filewhitenoise/base.py:20810 ms22.9%
StaticFile.__init__whitenoise/responders.py:727 ms17.2%
StaticFile.get_file_statswhitenoise/responders.py:1617 ms17.2%
__init____init__:-17 ms17.2%
FileEntry.__init__whitenoise/responders.py:2637 ms17.2%
FileEntry.stat_regular_filewhitenoise/responders.py:2767 ms17.2%
<GC>~7 ms17.2%
StaticFile.__init__whitenoise/responders.py:732 ms5.7%
StaticFile.get_headerswhitenoise/responders.py:1782 ms5.7%
parsedate<stdlib>/email/_parseaddr.py:1852 ms5.7%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms5.7%
_parsedate_tz<stdlib>/email/_parseaddr.py:1802 ms5.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms11.5%
scantreewhitenoise/base.py:2625 ms11.5%
scantreewhitenoise/base.py:2622 ms5.7%
scantreewhitenoise/base.py:2622 ms5.7%
scantreewhitenoise/base.py:2622 ms5.7%
scantreewhitenoise/base.py:2642 ms5.7%
scantreewhitenoise/base.py:2642 ms5.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1192 ms5.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1232 ms5.7%
Estimated from 17 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

ft/tests.py:175
response = self.client.get(reverse(name))
TestAccountPages.test_static_pages · Libraries
17 ms
ft/urls.py:84
return render(request, "tos.html")
tos · Templates
15 ms
ft/urls.py:51
return render(request, "get_started.html", {"logged_in": request.user.is_authenticated})
get_started · Templates
10 ms

Fixtures

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

Database

5 queries · 0.41 ms
No repeated queries.

Biggest pieces of work

call test body
ft/tests.py:175
41 ms

Reliability

15 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 15 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 42 ms cb18ed3 main Profile
2 weeks, 4 days ago CI github-actions:test passed 48 ms 9bd5864 main Profile
2 weeks, 6 days ago CI github-actions:test passed 23 ms 19dac9b main Profile
3 weeks ago CI github-actions:test passed 63 ms e141198 main Profile
1 month ago CI github-actions:test passed 26 ms 46ec2aa main Profile
1 month ago CI github-actions:test passed 55 ms afde85b main Profile
1 month ago CI github-actions:test passed 45 ms fe29f9d main Profile
1 month ago CI github-actions:test passed 65 ms 044719a main Profile
1 month ago CI github-actions:test passed 35 ms b3fedae main Profile
1 month, 1 week ago CI github-actions:test passed 52 ms 43c4eda main Profile
1 month, 1 week ago CI github-actions:test passed 53 ms 9caa567 main Profile
1 month, 1 week ago CI github-actions:test passed 50 ms ec75501 main Profile
1 month, 1 week ago CI github-actions:test passed 54 ms d2c12e5 main Profile
1 month, 1 week ago CI github-actions:test passed 32 ms 0b902f6 main Profile
1 month, 1 week ago CI github-actions:test passed 51 ms 78a4357 main Profile