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

TestAccountIndexRobots::test_full_facet_product_is_noindex

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
142 ms
median 113 ms
max 287 ms
Phases
Setup 2 ms Call 140 ms Teardown 0.31 ms
Categories
Database 26 ms App code 0.10 ms Other (Libraries, Templates, pytest, Unsampled, ...) 116 ms

8 database queries per run

Needs 6 KB of memory (max 16 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
setup1 ms1.1%
call102 ms98.6%
TestAccountIndexRobots.test_full_facet_product_is_noindexaccounts/tests.py:582 self.assert_noindex("/python/?f=best&t=human&o=followers&p=all&post=recently")101 ms97.3%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)101 ms97.3%
Client.getdjango/test/client.py:1133101 ms97.3%
RequestFactory.getdjango/test/client.py:475101 ms97.3%
RequestFactory.genericdjango/test/client.py:671101 ms97.3%
Client.requestdjango/test/client.py:1091101 ms97.3%
ClientHandler.__call__django/test/client.py:18693 ms89.6%
BaseHandler.get_responsedjango/core/handlers/base.py:14293 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12393 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14593 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38093 ms89.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5693 ms89.6%
BaseHandler._get_responsedjango/core/handlers/base.py:19993 ms89.6%
indexaccounts/views.py:412 page_obj = paginator.get_page(page_number)90 ms87.0%
CountlessPaginator.get_pageaccounts/views.py:8490 ms87.0%
CountlessPaginator.pageaccounts/views.py:9090 ms87.0%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)90 ms87.0%
QuerySet.__iter__django/db/models/query.py:43990 ms87.0%
QuerySet._fetch_alldjango/db/models/query.py:226290 ms87.0%
ModelIterable.__iter__django/db/models/query.py:10390 ms87.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162590 ms87.0%
CursorWrapper.executedjango/db/backends/utils.py:7990 ms87.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9290 ms87.0%
CursorWrapper._executedjango/db/backends/utils.py:10590 ms87.0%
Cursor.executepsycopg/cursor.py:11390 ms87.0%
Connection.waitpsycopg/connection.py:49590 ms87.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:20689 ms85.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28689 ms85.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7889 ms85.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2051 ms1.3%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms1.3%
PostgresClientQuery.convertpsycopg/_queries.py:2891 ms1.3%
PostgresClientQuery.dumppsycopg/_queries.py:2991 ms1.3%
indexaccounts/views.py:425 return render(3 ms2.6%
renderdjango/shortcuts.py:273 ms2.6%
render_to_stringdjango/template/loader.py:623 ms2.6%
Template.renderdjango/template/backends/django.py:1073 ms2.6%
Template.renderdjango/template/base.py:1753 ms2.6%
instrumented_test_renderdjango/test/utils.py:1133 ms2.6%
NodeList.renderdjango/template/base.py:11083 ms2.6%
Node.render_annotateddjango/template/base.py:10693 ms2.6%
ExtendsNode.renderdjango/template/loader_tags.py:1603 ms2.6%
instrumented_test_renderdjango/test/utils.py:1133 ms2.6%
NodeList.renderdjango/template/base.py:11083 ms2.6%
Node.render_annotateddjango/template/base.py:10693 ms2.6%
IfNode.renderdjango/template/defaulttags.py:3261 ms1.3%
infix.<locals>.Operator.evaldjango/template/smartif.py:611 ms1.3%
<lambda>django/template/smartif.py:1061 ms1.3%
TemplateLiteral.evaldjango/template/defaulttags.py:9181 ms1.3%
FilterExpression.resolvedjango/template/base.py:8061 ms1.3%
Variable.resolvedjango/template/base.py:9451 ms1.3%
Variable._resolve_lookupdjango/template/base.py:9891 ms1.3%
BlockNode.renderdjango/template/loader_tags.py:661 ms1.3%
NodeList.renderdjango/template/base.py:11081 ms1.3%
Node.render_annotateddjango/template/base.py:10691 ms1.3%
ForNode.renderdjango/template/defaulttags.py:2491 ms1.3%
ClientHandler.__call__django/test/client.py:1738 ms7.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:638 ms7.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1048 ms7.7%
WhiteNoise.add_fileswhitenoise/base.py:1088 ms7.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms5.1%
scantreewhitenoise/base.py:2715 ms5.1%
scantreewhitenoise/base.py:2715 ms5.1%
scantreewhitenoise/base.py:2713 ms2.6%
scantreewhitenoise/base.py:2713 ms2.6%
scantreewhitenoise/base.py:2713 ms2.6%
scantreewhitenoise/base.py:2731 ms1.3%
scantreewhitenoise/base.py:2731 ms1.3%
scantreewhitenoise/base.py:2691 ms1.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1203 ms2.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1313 ms2.6%
WhiteNoise.get_static_filewhitenoise/base.py:2173 ms2.6%
StaticFile.__init__whitenoise/responders.py:761 ms1.3%
StaticFile.__init__whitenoise/responders.py:731 ms1.3%
StaticFile.get_headerswhitenoise/responders.py:1761 ms1.3%
formatdate<stdlib>/email/utils.py:2661 ms1.3%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms1.3%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms1.3%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms1.3%
Atomic.__enter__django/db/transaction.py:2231 ms1.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms1.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms1.3%
CursorWrapper.executedjango/db/backends/utils.py:791 ms1.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms1.3%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms1.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms1.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms1.3%
Estimated from 78 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__ · Database
90 ms
accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex · Libraries
8 ms
accounts/views.py:425
return render(
index · Templates
3 ms

Fixtures

Exact setup time
_live_server_helper function 0.06 ms
_template_string_if_invalid_marker function 0.06 ms
_dj_autoclear_mailbox function 0.06 ms
_django_db_marker function 0.05 ms
_django_isolate_apps function 0.05 ms
_django_set_urlconf function 0.05 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.03 ms

Database

8 queries · 6 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:582
101 ms
call _pre_setup
django/test/testcases.py:1167
1 ms
setup pytest internals 1 ms

Reliability

12 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 12 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 104 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 55 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 126 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 174 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 113 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 111 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 108 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 59 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 229 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 200 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 287 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 116 ms 0c23747 main Run