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

TestFollowStarterPack::test_revoked_token_logs_out

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
170 ms
median 147 ms
max 290 ms
Phases
Setup 5 ms Call 163 ms Teardown 2 ms
Categories
Database 79 ms Factories 0.05 ms Other (Mocking, Templates, Libraries, pytest, ...) 90 ms

35 database queries per run

Needs 334 KB of memory (max 1 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
setup0.80 ms0.8%
call104 ms99.0%
TestFollowStarterPack.test_revoked_token_logs_outstarter_packs/tests.py:1330 response = self.client.post(self.url, follow=True)83 ms78.9%
Client.postdjango/test/client.py:116259 ms56.2%
RequestFactory.postdjango/test/client.py:49959 ms56.2%
RequestFactory.genericdjango/test/client.py:67159 ms56.2%
Client.requestdjango/test/client.py:109159 ms56.2%
ClientHandler.__call__django/test/client.py:18644 ms41.5%
BaseHandler.get_responsedjango/core/handlers/base.py:14244 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12344 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14544 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38044 ms41.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5644 ms41.5%
BaseHandler._get_responsedjango/core/handlers/base.py:19944 ms41.5%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:6244 ms41.5%
follow_starter_packstarter_packs/views.py:962 instance = account_access.instance39 ms37.5%
ForwardManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:26639 ms37.5%
FetchOne.fetchdjango/db/models/fetch_modes.py:1739 ms37.5%
ForwardManyToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:27939 ms37.5%
ForwardManyToOneDescriptor.get_objectdjango/db/models/fields/related_descriptors.py:23139 ms37.5%
QuerySet.getdjango/db/models/query.py:70239 ms37.5%
QuerySet.__len__django/db/models/query.py:42139 ms37.5%
QuerySet._fetch_alldjango/db/models/query.py:226239 ms37.5%
ModelIterable.__iter__django/db/models/query.py:10339 ms37.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162538 ms36.1%
CursorWrapper.executedjango/db/backends/utils.py:7938 ms36.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9238 ms36.1%
CursorWrapper._executedjango/db/backends/utils.py:10538 ms36.1%
Cursor.executepsycopg/cursor.py:11338 ms36.1%
Connection.waitpsycopg/connection.py:49538 ms36.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16231 ms1.3%
follow_starter_packstarter_packs/views.py:977 auth_logout(request)4 ms4.0%
logoutdjango/contrib/auth/__init__.py:2414 ms4.0%
SessionBase.flushdjango/contrib/sessions/backends/base.py:4234 ms4.0%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1754 ms4.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:874 ms4.0%
QuerySet.getdjango/db/models/query.py:7024 ms4.0%
QuerySet.__len__django/db/models/query.py:4214 ms4.0%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms4.0%
ModelIterable.__iter__django/db/models/query.py:1034 ms4.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms4.0%
CursorWrapper.executedjango/db/backends/utils.py:794 ms4.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms4.0%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms4.0%
Cursor.executepsycopg/cursor.py:1134 ms4.0%
Connection.waitpsycopg/connection.py:4954 ms4.0%
ClientHandler.__call__django/test/client.py:17316 ms14.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6316 ms14.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10416 ms14.7%
WhiteNoise.add_fileswhitenoise/base.py:10816 ms14.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms8.0%
scantreewhitenoise/base.py:2734 ms4.0%
scantreewhitenoise/base.py:2714 ms4.0%
scantreewhitenoise/base.py:2714 ms4.0%
scantreewhitenoise/base.py:2713 ms2.7%
scantreewhitenoise/base.py:2713 ms2.7%
scantreewhitenoise/base.py:2713 ms2.7%
scantreewhitenoise/base.py:2733 ms2.7%
scantreewhitenoise/base.py:2731 ms1.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1207 ms6.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1316 ms5.4%
WhiteNoise.get_static_filewhitenoise/base.py:2176 ms5.4%
StaticFile.__init__whitenoise/responders.py:741 ms1.3%
parsedate<stdlib>/email/_parseaddr.py:1851 ms1.3%
StaticFile.__init__whitenoise/responders.py:771 ms1.3%
StaticFile.get_alternativeswhitenoise/responders.py:2011 ms1.3%
StaticFile.__init__whitenoise/responders.py:761 ms1.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1891 ms1.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms1.3%
Headers.get<stdlib>/wsgiref/headers.py:1041 ms1.3%
StaticFile.__init__whitenoise/responders.py:721 ms1.3%
StaticFile.get_file_statswhitenoise/responders.py:1591 ms1.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1321 ms1.3%
Client.postdjango/test/client.py:117224 ms22.7%
Client._handle_redirectsdjango/test/client.py:139324 ms22.7%
ClientMixin._follow_redirectdjango/test/client.py:101124 ms22.7%
Client.getdjango/test/client.py:113324 ms22.7%
RequestFactory.getdjango/test/client.py:47524 ms22.7%
RequestFactory.genericdjango/test/client.py:67124 ms22.7%
Client.requestdjango/test/client.py:109124 ms22.7%
ClientHandler.__call__django/test/client.py:18624 ms22.7%
BaseHandler.get_responsedjango/core/handlers/base.py:14224 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12324 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14524 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms22.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms22.7%
BaseHandler._get_responsedjango/core/handlers/base.py:19924 ms22.7%
share_starter_packstarter_packs/views.py:862 return render(8 ms8.0%
renderdjango/shortcuts.py:278 ms8.0%
render_to_stringdjango/template/loader.py:628 ms8.0%
Template.renderdjango/template/backends/django.py:1078 ms8.0%
Template.renderdjango/template/base.py:1758 ms8.0%
instrumented_test_renderdjango/test/utils.py:1138 ms8.0%
NodeList.renderdjango/template/base.py:11088 ms8.0%
Node.render_annotateddjango/template/base.py:10698 ms8.0%
ExtendsNode.renderdjango/template/loader_tags.py:1608 ms8.0%
instrumented_test_renderdjango/test/utils.py:1138 ms8.0%
NodeList.renderdjango/template/base.py:11088 ms8.0%
Node.render_annotateddjango/template/base.py:10698 ms8.0%
IfNode.renderdjango/template/defaulttags.py:3337 ms6.7%
NodeList.renderdjango/template/base.py:11087 ms6.7%
Node.render_annotateddjango/template/base.py:10697 ms6.7%
IncludeNode.renderdjango/template/loader_tags.py:2116 ms5.4%
Template.renderdjango/template/base.py:1776 ms5.4%
instrumented_test_renderdjango/test/utils.py:1136 ms5.4%
NodeList.renderdjango/template/base.py:11086 ms5.4%
Node.render_annotateddjango/template/base.py:10696 ms5.4%
SimpleNode.renderdjango/template/library.py:3436 ms5.4%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:4 ms4.0%
QuerySet.__iter__django/db/models/query.py:4394 ms4.0%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms4.0%
FlatValuesListIterable.__iter__django/db/models/query.py:3024 ms4.0%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15744 ms4.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms4.0%
CursorWrapper.executedjango/db/backends/utils.py:794 ms4.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms4.0%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms4.0%
Cursor.executepsycopg/cursor.py:1134 ms4.0%
Connection.waitpsycopg/connection.py:4954 ms4.0%
instances_datalistaccounts/templatetags/account_extras.py:34 instances = Instance.objects.filter(deleted_at__isnull=True).values_list("domain", flat=True)1 ms1.3%
QuerySet.values_listdjango/db/models/query.py:15921 ms1.3%
QuerySet._valuesdjango/db/models/query.py:15311 ms1.3%
Query.set_valuesdjango/db/models/sql/query.py:25961 ms1.3%
VariableNode.renderdjango/template/base.py:11671 ms1.3%
FilterExpression.resolvedjango/template/base.py:8061 ms1.3%
StaticNode.renderdjango/templatetags/static.py:1161 ms1.3%
StaticNode.urldjango/templatetags/static.py:1131 ms1.3%
StaticNode.handle_simpledjango/templatetags/static.py:1291 ms1.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms1.3%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2351 ms1.3%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2071 ms1.3%
urldefrag<stdlib>/urllib/parse.py:7771 ms1.3%
share_starter_packstarter_packs/views.py:729 starter_pack = get_object_or_404(StarterPack, slug=starter_pack_slug, deleted_at__isnull=True)4 ms4.0%
get_object_or_404django/shortcuts.py:1004 ms4.0%
QuerySet.getdjango/db/models/query.py:7024 ms4.0%
QuerySet.__len__django/db/models/query.py:4214 ms4.0%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms4.0%
ModelIterable.__iter__django/db/models/query.py:1034 ms4.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms4.0%
CursorWrapper.executedjango/db/backends/utils.py:794 ms4.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms4.0%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms4.0%
Cursor.executepsycopg/cursor.py:1134 ms4.0%
Connection.waitpsycopg/connection.py:4954 ms4.0%
share_starter_packstarter_packs/views.py:858 owners = list(starter_pack.owners.select_related("accountaccess__account").order_by("username"))4 ms4.0%
QuerySet.__iter__django/db/models/query.py:4394 ms4.0%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms4.0%
ModelIterable.__iter__django/db/models/query.py:1034 ms4.0%
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:1051 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
share_starter_packstarter_packs/views.py:856 page_obj = paginator.get_page(page_number)3 ms2.7%
Paginator.get_pagedjango/core/paginator.py:1613 ms2.7%
Paginator.validate_numberdjango/core/paginator.py:1533 ms2.7%
cached_property.__get__django/utils/functional.py:473 ms2.7%
Paginator.num_pagesdjango/core/paginator.py:1883 ms2.7%
cached_property.__get__django/utils/functional.py:473 ms2.7%
Paginator.countdjango/core/paginator.py:1823 ms2.7%
QuerySet.countdjango/db/models/query.py:6773 ms2.7%
Query.get_countdjango/db/models/sql/query.py:6573 ms2.7%
Query.get_aggregationdjango/db/models/sql/query.py:6393 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:1053 ms2.7%
Cursor.executepsycopg/cursor.py:1133 ms2.7%
Connection.waitpsycopg/connection.py:4953 ms2.7%
share_starter_packstarter_packs/views.py:734 Account.objects.filter(1 ms1.3%
share_starter_packstarter_packs/views.py:8601 ms1.3%
pack_header_avatarsstarter_packs/views.py:89 for pack_id, avatar, handle, name in rows:1 ms1.3%
QuerySet.__iter__django/db/models/query.py:4391 ms1.3%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms1.3%
ValuesListIterable.__iter__django/db/models/query.py:2631 ms1.3%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15741 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 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:1051 ms1.3%
share_starter_packstarter_packs/views.py:886 .count(),1 ms1.3%
QuerySet.countdjango/db/models/query.py:6771 ms1.3%
Query.get_countdjango/db/models/sql/query.py:6571 ms1.3%
Query.get_aggregationdjango/db/models/sql/query.py:6391 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 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:1051 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%
TestFollowStarterPack.setUpstarter_packs/tests.py:1312 self.client.force_login(self.user)16 ms14.7%
ClientMixin.force_logindjango/test/client.py:85816 ms14.7%
ClientMixin._logindjango/test/client.py:88910 ms9.4%
logindjango/contrib/auth/__init__.py:1897 ms6.7%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4374 ms4.0%
SessionStore.createdjango/contrib/sessions/backends/db.py:743 ms2.7%
SessionStore.savedjango/contrib/sessions/backends/db.py:1261 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%
SessionStore.savedjango/contrib/sessions/backends/db.py:1271 ms1.3%
Model.savedjango/db/models/base.py:9041 ms1.3%
Model.save_basedjango/db/models/base.py:9961 ms1.3%
Model._save_tabledjango/db/models/base.py:11991 ms1.3%
Model._do_insertdjango/db/models/base.py:12511 ms1.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms1.3%
QuerySet._insertdjango/db/models/query.py:21411 ms1.3%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 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:1051 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
SessionStore.createdjango/contrib/sessions/backends/db.py:701 ms1.3%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2011 ms1.3%
SessionStore.existsdjango/contrib/sessions/backends/db.py:631 ms1.3%
QuerySet.existsdjango/db/models/query.py:14581 ms1.3%
Query.has_resultsdjango/db/models/sql/query.py:6871 ms1.3%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15931 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms1.3%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7961 ms1.3%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms1.3%
WhereNode.as_sqldjango/db/models/sql/where.py:1511 ms1.3%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5791 ms1.3%
Exact.as_sqldjango/db/models/lookups.py:4071 ms1.3%
BuiltinLookup.as_sqldjango/db/models/lookups.py:2431 ms1.3%
BuiltinLookup.process_lhsdjango/db/models/lookups.py:2351 ms1.3%
Lookup.process_lhsdjango/db/models/lookups.py:1091 ms1.3%
BaseExpression.resolve_expressiondjango/db/models/expressions.py:2971 ms1.3%
BaseExpression.copydjango/db/models/expressions.py:4441 ms1.3%
copy<stdlib>/copy.py:1001 ms1.3%
_reconstruct<stdlib>/copy.py:2581 ms1.3%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4403 ms2.7%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1753 ms2.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms1.3%
QuerySet.getdjango/db/models/query.py:7021 ms1.3%
QuerySet.__len__django/db/models/query.py:4211 ms1.3%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms1.3%
ModelIterable.__iter__django/db/models/query.py:1031 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 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:1051 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%
Model.deletedjango/db/models/base.py:13311 ms1.3%
Collector.deletedjango/db/models/deletion.py:4831 ms1.3%
DeleteQuery.delete_batchdjango/db/models/sql/subqueries.py:431 ms1.3%
DeleteQuery.do_querydjango/db/models/sql/subqueries.py:251 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 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:1051 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%
logindjango/contrib/auth/__init__.py:1771 ms1.3%
SessionBase.__contains__django/contrib/sessions/backends/base.py:521 ms1.3%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2541 ms1.3%
SessionStore.loaddjango/contrib/sessions/backends/db.py:551 ms1.3%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:341 ms1.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms1.3%
QuerySet.getdjango/db/models/query.py:7021 ms1.3%
QuerySet.__len__django/db/models/query.py:4211 ms1.3%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms1.3%
ModelIterable.__iter__django/db/models/query.py:1031 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 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:1051 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
logindjango/contrib/auth/__init__.py:1981 ms1.3%
Signal.senddjango/dispatch/dispatcher.py:2491 ms1.3%
update_last_logindjango/contrib/auth/models.py:241 ms1.3%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:621 ms1.3%
Model.savedjango/db/models/base.py:9041 ms1.3%
Model.save_basedjango/db/models/base.py:9961 ms1.3%
Model._save_tabledjango/db/models/base.py:11401 ms1.3%
Model._do_updatedjango/db/models/base.py:12441 ms1.3%
QuerySet._updatedjango/db/models/query.py:14481 ms1.3%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21501 ms1.3%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21211 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 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:1051 ms1.3%
Cursor.executepsycopg/cursor.py:1131 ms1.3%
Connection.waitpsycopg/connection.py:4951 ms1.3%
ClientMixin._logindjango/test/client.py:8843 ms2.7%
ClientMixin.sessiondjango/test/client.py:8153 ms2.7%
SessionStore.savedjango/contrib/sessions/backends/db.py:1213 ms2.7%
SessionStore.createdjango/contrib/sessions/backends/db.py:701 ms1.3%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2011 ms1.3%
SessionStore.existsdjango/contrib/sessions/backends/db.py:631 ms1.3%
QuerySet.existsdjango/db/models/query.py:14581 ms1.3%
Query.has_resultsdjango/db/models/sql/query.py:6871 ms1.3%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15931 ms1.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 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:1051 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%
SessionStore.createdjango/contrib/sessions/backends/db.py:741 ms1.3%
SessionStore.savedjango/contrib/sessions/backends/db.py:1271 ms1.3%
Model.savedjango/db/models/base.py:9041 ms1.3%
Model.save_basedjango/db/models/base.py:9961 ms1.3%
Model._save_tabledjango/db/models/base.py:11991 ms1.3%
Model._do_insertdjango/db/models/base.py:12511 ms1.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms1.3%
QuerySet._insertdjango/db/models/query.py:21411 ms1.3%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 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:1051 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%
ClientMixin._logindjango/test/client.py:8913 ms2.7%
SessionStore.savedjango/contrib/sessions/backends/db.py:1263 ms2.7%
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%
Atomic.__exit__django/db/transaction.py:2591 ms1.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.3%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms1.3%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 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%
TestFollowStarterPack.test_revoked_token_logs_outstarter_packs/tests.py:1336 self.assertFalse(FollowAllClick.objects.filter(user=self.user).exists())3 ms2.7%
QuerySet.existsdjango/db/models/query.py:14583 ms2.7%
Query.has_resultsdjango/db/models/sql/query.py:6873 ms2.7%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15933 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:1053 ms2.7%
Cursor.executepsycopg/cursor.py:1133 ms2.7%
Connection.waitpsycopg/connection.py:4953 ms2.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms2.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms2.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms2.7%
TransactionTestCase._pre_setupdjango/test/testcases.py:1181 for db_name in cls._databases_names(include_mirrors=False):1 ms1.3%
TransactionTestCase._databases_namesdjango/test/testcases.py:11931 ms1.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms1.3%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms1.3%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4951 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%
Estimated from 75 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/views.py:962
instance = account_access.instance
follow_starter_pack · Database
39 ms
starter_packs/tests.py:1330
response = self.client.post(self.url, follow=True)
TestFollowStarterPack.test_revoked_token_logs_out · Mocking
16 ms
starter_packs/tests.py:1312
self.client.force_login(self.user)
TestFollowStarterPack.setUp · Database
16 ms
starter_packs/views.py:977
auth_logout(request)
follow_starter_pack · Database
4 ms
starter_packs/views.py:729
starter_pack = get_object_or_404(StarterPack, slug=starter_pack_slug, deleted_at__isnull=True)
share_starter_pack · Database
4 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
4 ms
starter_packs/views.py:858
owners = list(starter_pack.owners.select_related("accountaccess__account").order_by("username"))
share_starter_pack · Database
4 ms
starter_packs/views.py:856
page_obj = paginator.get_page(page_number)
share_starter_pack · Database
3 ms
starter_packs/tests.py:1336
self.assertFalse(FollowAllClick.objects.filter(user=self.user).exists())
TestFollowStarterPack.test_revoked_token_logs_out · Database
3 ms
starter_packs/views.py:862
return render(
share_starter_pack · Templates
3 ms

Fixtures

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

Database

34 queries · 27 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:1330
86 ms
call setUp
starter_packs/tests.py:1312
16 ms
call _pre_setup
django/test/testcases.py:1181
1 ms
call _post_teardown
django/test/testcases.py:1243
1 ms
setup pytest internals 0.80 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 105 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 135 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 211 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 147 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 200 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 158 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 108 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 118 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 123 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 106 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 283 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 221 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 290 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 126 ms 0c23747 main Run