flakytest.dev anze3db fedidevs
Tests / accounts/tests.py

TestAccountIndexRobots::test_pagination_is_noindex

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
134 ms
median 113 ms
max 215 ms
Phases
Setup 1 ms Call 133 ms Teardown 0.35 ms
Categories
Database 22 ms App code 0.08 ms Other (Libraries, Templates, pytest, Unsampled, ...) 113 ms

8 database queries per run

Needs 7 KB of memory (max 52 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
setup0.71 ms0.6%
call112 ms99.2%
TestAccountIndexRobots.test_pagination_is_noindexaccounts/tests.py:592 self.assert_noindex("/python/?page=2")112 ms99.2%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)112 ms99.2%
Client.getdjango/test/client.py:1133112 ms99.2%
RequestFactory.getdjango/test/client.py:475112 ms99.2%
RequestFactory.genericdjango/test/client.py:671112 ms99.2%
Client.requestdjango/test/client.py:1091112 ms99.2%
ClientHandler.__call__django/test/client.py:17381 ms72.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6381 ms72.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10481 ms72.0%
WhiteNoise.add_fileswhitenoise/base.py:10881 ms72.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12060 ms53.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13158 ms51.6%
WhiteNoise.get_static_filewhitenoise/base.py:21751 ms44.8%
StaticFile.__init__whitenoise/responders.py:7338 ms34.0%
StaticFile.get_headerswhitenoise/responders.py:17029 ms25.8%
Headers.__setitem__<stdlib>/wsgiref/headers.py:6229 ms25.8%
Headers.__delitem__<stdlib>/wsgiref/headers.py:7129 ms25.8%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:5029 ms25.8%
StaticFile.get_headerswhitenoise/responders.py:1769 ms8.1%
formatdate<stdlib>/email/utils.py:2666 ms5.4%
format_datetime<stdlib>/email/utils.py:2755 ms4.1%
format_datetime<stdlib>/email/utils.py:2842 ms1.4%
StaticFile.__init__whitenoise/responders.py:775 ms4.1%
StaticFile.get_alternativeswhitenoise/responders.py:2005 ms4.1%
__init____init__:-15 ms4.1%
Headers.__init__<stdlib>/wsgiref/headers.py:445 ms4.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:485 ms4.1%
StaticFile.__init__whitenoise/responders.py:765 ms4.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1893 ms2.7%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms2.7%
Headers.get<stdlib>/wsgiref/headers.py:1043 ms2.7%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:503 ms2.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms1.4%
StaticFile.__init__whitenoise/responders.py:742 ms1.4%
parsedate<stdlib>/email/_parseaddr.py:1852 ms1.4%
StaticFile.__init__whitenoise/responders.py:722 ms1.4%
StaticFile.get_file_statswhitenoise/responders.py:1632 ms1.4%
WhiteNoise.get_static_filewhitenoise/base.py:2128 ms6.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2338 ms6.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1768 ms6.8%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1978 ms6.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:218 ms6.8%
<GC>~8 ms6.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11520 ms17.7%
scantreewhitenoise/base.py:27115 ms13.6%
scantreewhitenoise/base.py:27112 ms10.9%
scantreewhitenoise/base.py:2698 ms6.8%
scantreewhitenoise/base.py:2733 ms2.7%
scantreewhitenoise/base.py:2712 ms1.4%
scantreewhitenoise/base.py:2712 ms1.4%
scantreewhitenoise/base.py:2732 ms1.4%
scantreewhitenoise/base.py:2733 ms2.7%
scantreewhitenoise/base.py:2735 ms4.1%
ClientHandler.__call__django/test/client.py:18631 ms27.2%
BaseHandler.get_responsedjango/core/handlers/base.py:14231 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12331 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14531 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
MiddlewareMixin.__call__django/utils/deprecation.py:38031 ms27.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5631 ms27.2%
BaseHandler._get_responsedjango/core/handlers/base.py:19931 ms27.2%
indexaccounts/views.py:425 return render(21 ms19.0%
renderdjango/shortcuts.py:2721 ms19.0%
render_to_stringdjango/template/loader.py:6221 ms19.0%
Template.renderdjango/template/backends/django.py:10721 ms19.0%
Template.renderdjango/template/base.py:17521 ms19.0%
instrumented_test_renderdjango/test/utils.py:11321 ms19.0%
NodeList.renderdjango/template/base.py:110821 ms19.0%
Node.render_annotateddjango/template/base.py:106921 ms19.0%
ExtendsNode.renderdjango/template/loader_tags.py:16021 ms19.0%
instrumented_test_renderdjango/test/utils.py:11321 ms19.0%
NodeList.renderdjango/template/base.py:110821 ms19.0%
Node.render_annotateddjango/template/base.py:106921 ms19.0%
BlockNode.renderdjango/template/loader_tags.py:6615 ms13.6%
NodeList.renderdjango/template/base.py:110815 ms13.6%
Node.render_annotateddjango/template/base.py:106915 ms13.6%
ForNode.renderdjango/template/defaulttags.py:24915 ms13.6%
Node.render_annotateddjango/template/base.py:106915 ms13.6%
StaticNode.renderdjango/templatetags/static.py:11611 ms9.5%
StaticNode.urldjango/templatetags/static.py:11311 ms9.5%
StaticNode.handle_simpledjango/templatetags/static.py:12911 ms9.5%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2011 ms9.5%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:23511 ms9.5%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:21611 ms9.5%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2079 ms8.1%
urljoin<stdlib>/urllib/parse.py:7439 ms8.1%
IfNode.renderdjango/template/defaulttags.py:3265 ms4.1%
infix.<locals>.Operator.evaldjango/template/smartif.py:615 ms4.1%
<lambda>django/template/smartif.py:1075 ms4.1%
TemplateLiteral.evaldjango/template/defaulttags.py:9185 ms4.1%
FilterExpression.resolvedjango/template/base.py:8075 ms4.1%
IfNode.renderdjango/template/defaulttags.py:3335 ms4.1%
NodeList.renderdjango/template/base.py:11085 ms4.1%
Node.render_annotateddjango/template/base.py:10695 ms4.1%
IncludeNode.renderdjango/template/loader_tags.py:2115 ms4.1%
Template.renderdjango/template/base.py:1775 ms4.1%
instrumented_test_renderdjango/test/utils.py:1135 ms4.1%
NodeList.renderdjango/template/base.py:11085 ms4.1%
Node.render_annotateddjango/template/base.py:10695 ms4.1%
SimpleNode.renderdjango/template/library.py:3435 ms4.1%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:5 ms4.1%
QuerySet.__iter__django/db/models/query.py:4395 ms4.1%
QuerySet._fetch_alldjango/db/models/query.py:22625 ms4.1%
FlatValuesListIterable.__iter__django/db/models/query.py:3025 ms4.1%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15745 ms4.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16255 ms4.1%
CursorWrapper.executedjango/db/backends/utils.py:795 ms4.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms4.1%
CursorWrapper._executedjango/db/backends/utils.py:1055 ms4.1%
Cursor.executepsycopg/cursor.py:1135 ms4.1%
Connection.waitpsycopg/connection.py:4955 ms4.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2065 ms4.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2865 ms4.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:785 ms4.1%
indexaccounts/views.py:4126 ms5.4%
CountlessPaginator.get_pageaccounts/views.py:846 ms5.4%
CountlessPaginator.pageaccounts/views.py:906 ms5.4%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)6 ms5.4%
QuerySet.__iter__django/db/models/query.py:4396 ms5.4%
QuerySet._fetch_alldjango/db/models/query.py:22626 ms5.4%
ModelIterable.__iter__django/db/models/query.py:1036 ms5.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16125 ms4.1%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7685 ms4.1%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:895 ms4.1%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:785 ms4.1%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2653 ms2.7%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10073 ms2.7%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3102 ms1.4%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12602 ms1.4%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10102 ms1.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.4%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.4%
Cursor.executepsycopg/cursor.py:1132 ms1.4%
Connection.waitpsycopg/connection.py:4952 ms1.4%
indexaccounts/views.py:295 language_counts = Daily.objects.order_by("date").last()3 ms2.7%
QuerySet.lastdjango/db/models/query.py:12253 ms2.7%
QuerySet.__iter__django/db/models/query.py:4393 ms2.7%
QuerySet._fetch_alldjango/db/models/query.py:22623 ms2.7%
ModelIterable.__iter__django/db/models/query.py:1033 ms2.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms2.7%
CursorWrapper.executedjango/db/backends/utils.py:793 ms2.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms2.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.4%
Cursor.executepsycopg/cursor.py:1132 ms1.4%
Connection.waitpsycopg/connection.py:4952 ms1.4%
Estimated from 74 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex · Libraries
81 ms
accounts/views.py:425
return render(
index · Templates
17 ms
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__ · Database
6 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
5 ms
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index · Database
3 ms

Fixtures

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

Database

8 queries · 10 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:592
112 ms
setup pytest internals 0.71 ms

Reliability

14 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 14 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 113 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 177 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 99 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 65 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 177 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 170 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 84 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 100 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 85 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 54 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 195 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 214 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 215 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 90 ms 0c23747 main Run