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

TestOwnerManagement::test_pending_invitation_shown_on_starter_packs_page

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
155 ms
median 161 ms
max 210 ms
Phases
Setup 5 ms Call 149 ms Teardown 0.48 ms
Categories
Database 49 ms Factories 0.51 ms Other (Libraries, Templates, pytest, Unsampled, ...) 105 ms

29 database queries per run

Needs 95 KB of memory (max 880 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
setup2 ms1.3%
__init____init__:-11 ms0.6%
signature<stdlib>/inspect.py:33431 ms0.6%
Signature.from_callable<stdlib>/inspect.py:30581 ms0.6%
_signature_from_callable<stdlib>/inspect.py:25281 ms0.6%
_signature_from_function<stdlib>/inspect.py:23511 ms0.6%
get_annotations<stdlib>/annotationlib.py:10301 ms0.6%
_get_dunder_annotations<stdlib>/annotationlib.py:12031 ms0.6%
call175 ms98.5%
TestOwnerManagement.test_pending_invitation_shown_on_starter_packs_pagestarter_packs/tests.py:610 response = self.client.get(reverse("starter_packs"))154 ms86.6%
Client.getdjango/test/client.py:1133154 ms86.6%
RequestFactory.getdjango/test/client.py:475154 ms86.6%
RequestFactory.genericdjango/test/client.py:671154 ms86.6%
Client.requestdjango/test/client.py:1091154 ms86.6%
ClientHandler.__call__django/test/client.py:186128 ms71.8%
BaseHandler.get_responsedjango/core/handlers/base.py:142128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:123128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:145128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
MiddlewareMixin.__call__django/utils/deprecation.py:380128 ms71.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:56128 ms71.8%
BaseHandler._get_responsedjango/core/handlers/base.py:199128 ms71.8%
starter_packsstarter_packs/views.py:185 return render(120 ms67.6%
renderdjango/shortcuts.py:27120 ms67.6%
render_to_stringdjango/template/loader.py:62120 ms67.6%
Template.renderdjango/template/backends/django.py:107116 ms65.5%
Template.renderdjango/template/base.py:175116 ms65.5%
instrumented_test_renderdjango/test/utils.py:113116 ms65.5%
NodeList.renderdjango/template/base.py:1108116 ms65.5%
Node.render_annotateddjango/template/base.py:1069116 ms65.5%
ExtendsNode.renderdjango/template/loader_tags.py:160116 ms65.5%
instrumented_test_renderdjango/test/utils.py:113116 ms65.5%
NodeList.renderdjango/template/base.py:1108116 ms65.5%
Node.render_annotateddjango/template/base.py:1069116 ms65.5%
IfNode.renderdjango/template/defaulttags.py:33369 ms38.7%
NodeList.renderdjango/template/base.py:110869 ms38.7%
Node.render_annotateddjango/template/base.py:106969 ms38.7%
VariableNode.renderdjango/template/base.py:116751 ms28.9%
FilterExpression.resolvedjango/template/base.py:80651 ms28.9%
Variable.resolvedjango/template/base.py:94551 ms28.9%
Variable._resolve_lookupdjango/template/base.py:99351 ms28.9%
ForwardManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:26650 ms28.2%
FetchOne.fetchdjango/db/models/fetch_modes.py:1750 ms28.2%
ForwardManyToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:27950 ms28.2%
ForwardManyToOneDescriptor.get_objectdjango/db/models/fields/related_descriptors.py:23150 ms28.2%
QuerySet.getdjango/db/models/query.py:70250 ms28.2%
QuerySet.__len__django/db/models/query.py:42150 ms28.2%
QuerySet._fetch_alldjango/db/models/query.py:226250 ms28.2%
ModelIterable.__iter__django/db/models/query.py:10350 ms28.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162549 ms27.4%
CursorWrapper.executedjango/db/backends/utils.py:7949 ms27.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9249 ms27.4%
CursorWrapper._executedjango/db/backends/utils.py:10548 ms26.7%
Cursor.executepsycopg/cursor.py:11348 ms26.7%
Connection.waitpsycopg/connection.py:49548 ms26.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:20648 ms26.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:31246 ms26.0%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms0.7%
PostgresClientQuery.convertpsycopg/_queries.py:2891 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16121 ms0.7%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7681 ms0.7%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:891 ms0.7%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:781 ms0.7%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2651 ms0.7%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10321 ms0.7%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2531 ms0.7%
ReverseOneToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:5371 ms0.7%
FetchOne.fetchdjango/db/models/fetch_modes.py:171 ms0.7%
ReverseOneToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:5621 ms0.7%
QuerySet.getdjango/db/models/query.py:7021 ms0.7%
QuerySet.__len__django/db/models/query.py:4211 ms0.7%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms0.7%
ModelIterable.__iter__django/db/models/query.py:1031 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.7%
Cursor.executepsycopg/cursor.py:1131 ms0.7%
Connection.waitpsycopg/connection.py:4951 ms0.7%
TranslateNode.renderdjango/templatetags/i18n.py:9618 ms9.9%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:23118 ms9.9%
mark_safedjango/utils/safestring.py:7818 ms9.9%
BlockNode.renderdjango/template/loader_tags.py:6646 ms26.0%
NodeList.renderdjango/template/base.py:110846 ms26.0%
Node.render_annotateddjango/template/base.py:106946 ms26.0%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:27544 ms24.6%
Template.renderdjango/template/base.py:17744 ms24.6%
instrumented_test_renderdjango/test/utils.py:11344 ms24.6%
NodeList.renderdjango/template/base.py:110844 ms24.6%
Node.render_annotateddjango/template/base.py:106944 ms24.6%
IfNode.renderdjango/template/defaulttags.py:33344 ms24.6%
NodeList.renderdjango/template/base.py:110844 ms24.6%
Node.render_annotateddjango/template/base.py:106944 ms24.6%
SimpleNode.renderdjango/template/library.py:34344 ms24.6%
querystringdjango/template/defaulttags.py:132744 ms24.6%
QueryDict.__init__django/http/request.py:60344 ms24.6%
IfNode.renderdjango/template/defaulttags.py:3333 ms1.4%
NodeList.renderdjango/template/base.py:11083 ms1.4%
Node.render_annotateddjango/template/base.py:10693 ms1.4%
IfNode.renderdjango/template/defaulttags.py:3261 ms0.7%
infix.<locals>.Operator.evaldjango/template/smartif.py:611 ms0.7%
<lambda>django/template/smartif.py:1061 ms0.7%
TemplateLiteral.evaldjango/template/defaulttags.py:9181 ms0.7%
FilterExpression.resolvedjango/template/base.py:8061 ms0.7%
Variable.resolvedjango/template/base.py:9451 ms0.7%
Variable._resolve_lookupdjango/template/base.py:9961 ms0.7%
TranslateNode.renderdjango/templatetags/i18n.py:911 ms0.7%
render_value_in_contextdjango/template/base.py:11501 ms0.7%
lazy.<locals>.__proxy__.__str__django/utils/functional.py:1191 ms0.7%
lazy.<locals>.__proxy__.__castdjango/utils/functional.py:1101 ms0.7%
gettextdjango/utils/translation/__init__.py:961 ms0.7%
gettextdjango/utils/translation/trans_real.py:3831 ms0.7%
Local.__getattr__asgiref/local.py:1571 ms0.7%
contextmanager.<locals>.helper<stdlib>/contextlib.py:367 return _GeneratorContextManager(func, args, kwds)1 ms0.7%
_GeneratorContextManagerBase.__init__<stdlib>/contextlib.py:1711 ms0.7%
VariableNode.renderdjango/template/base.py:11731 ms0.7%
render_value_in_contextdjango/template/base.py:11511 ms0.7%
conditional_escapedjango/utils/html.py:1321 ms0.7%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2261 ms0.7%
Template.renderdjango/template/backends/django.py:1034 ms2.1%
Template.renderdjango/template/base.py:1753 ms1.4%
instrumented_test_renderdjango/test/utils.py:1133 ms1.4%
NodeList.renderdjango/template/base.py:11083 ms1.4%
Node.render_annotateddjango/template/base.py:10693 ms1.4%
ExtendsNode.renderdjango/template/loader_tags.py:1521 ms0.7%
NodeList.get_nodes_by_typedjango/template/base.py:11141 ms0.7%
Node.get_nodes_by_typedjango/template/base.py:10961 ms0.7%
IfNode.nodelistdjango/template/defaulttags.py:3201 ms0.7%
ExtendsNode.renderdjango/template/loader_tags.py:1601 ms0.7%
instrumented_test_renderdjango/test/utils.py:1121 ms0.7%
Signal.senddjango/dispatch/dispatcher.py:2491 ms0.7%
store_rendered_templatesdjango/test/client.py:2751 ms0.7%
make_contextdjango/template/context.py:3041 ms0.7%
starter_packsstarter_packs/views.py:179 pending_invitations = list(8 ms4.2%
QuerySet.__iter__django/db/models/query.py:4398 ms4.2%
QuerySet._fetch_alldjango/db/models/query.py:22628 ms4.2%
ModelIterable.__iter__django/db/models/query.py:1035 ms2.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16255 ms2.8%
CursorWrapper.executedjango/db/backends/utils.py:795 ms2.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms2.8%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms2.1%
Cursor.executepsycopg/cursor.py:1134 ms2.1%
Connection.waitpsycopg/connection.py:4954 ms2.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3181 ms0.7%
ModelIterable.__iter__django/db/models/query.py:1351 ms0.7%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15781 ms0.7%
SQLCompiler.get_convertersdjango/db/models/sql/compiler.py:15271 ms0.7%
Col.get_db_convertersdjango/db/models/expressions.py:13831 ms0.7%
Field.__eq__django/db/models/fields/__init__.py:7181 ms0.7%
ModelIterable.__iter__django/db/models/query.py:1461 ms0.7%
RelatedPopulator.populatedjango/db/models/query.py:30441 ms0.7%
Model.from_dbdjango/db/models/base.py:6251 ms0.7%
ClientHandler.__call__django/test/client.py:17326 ms14.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6326 ms14.8%
__init____init__:-126 ms14.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10426 ms14.8%
WhiteNoise.add_fileswhitenoise/base.py:10826 ms14.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12026 ms14.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13126 ms14.8%
WhiteNoise.get_static_filewhitenoise/base.py:21714 ms7.7%
StaticFile.__init__whitenoise/responders.py:7313 ms7.0%
StaticFile.get_headerswhitenoise/responders.py:18011 ms6.3%
StaticFile.get_headerswhitenoise/responders.py:1761 ms0.7%
formatdate<stdlib>/email/utils.py:2661 ms0.7%
StaticFile.__init__whitenoise/responders.py:771 ms0.7%
StaticFile.get_alternativeswhitenoise/responders.py:2011 ms0.7%
WhiteNoise.get_static_filewhitenoise/base.py:21213 ms7.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:23313 ms7.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17613 ms7.0%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19713 ms7.0%
LazyObject.__getattribute__django/utils/functional.py:28011 ms6.3%
TestOwnerManagement.test_pending_invitation_shown_on_starter_packs_pagestarter_packs/tests.py:609 self.client.force_login(self.friend)8 ms4.2%
ClientMixin.force_logindjango/test/client.py:8588 ms4.2%
ClientMixin._logindjango/test/client.py:8896 ms3.5%
logindjango/contrib/auth/__init__.py:1895 ms2.8%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4374 ms2.1%
SessionStore.createdjango/contrib/sessions/backends/db.py:704 ms2.1%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2014 ms2.1%
SessionStore.existsdjango/contrib/sessions/backends/db.py:634 ms2.1%
QuerySet.existsdjango/db/models/query.py:14584 ms2.1%
Query.has_resultsdjango/db/models/sql/query.py:6874 ms2.1%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15934 ms2.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms2.1%
CursorWrapper.executedjango/db/backends/utils.py:794 ms2.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms2.1%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms2.1%
Cursor.executepsycopg/cursor.py:1134 ms2.1%
Connection.waitpsycopg/connection.py:4954 ms2.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms2.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms2.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms2.1%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4401 ms0.7%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1751 ms0.7%
Model.deletedjango/db/models/base.py:13301 ms0.7%
Collector.collectdjango/db/models/deletion.py:3081 ms0.7%
Collector.adddjango/db/models/deletion.py:1551 ms0.7%
logindjango/contrib/auth/__init__.py:1771 ms0.7%
SessionBase.__contains__django/contrib/sessions/backends/base.py:521 ms0.7%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2541 ms0.7%
SessionStore.loaddjango/contrib/sessions/backends/db.py:551 ms0.7%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:341 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.7%
QuerySet.getdjango/db/models/query.py:7021 ms0.7%
QuerySet.__len__django/db/models/query.py:4211 ms0.7%
QuerySet._fetch_alldjango/db/models/query.py:22621 ms0.7%
ModelIterable.__iter__django/db/models/query.py:1031 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.7%
Cursor.executepsycopg/cursor.py:1131 ms0.7%
Connection.waitpsycopg/connection.py:4951 ms0.7%
ClientMixin._logindjango/test/client.py:8841 ms0.7%
ClientMixin.sessiondjango/test/client.py:8151 ms0.7%
SessionStore.savedjango/contrib/sessions/backends/db.py:1211 ms0.7%
SessionStore.createdjango/contrib/sessions/backends/db.py:701 ms0.7%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2011 ms0.7%
SessionStore.existsdjango/contrib/sessions/backends/db.py:631 ms0.7%
QuerySet.existsdjango/db/models/query.py:14581 ms0.7%
Query.has_resultsdjango/db/models/sql/query.py:6871 ms0.7%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15931 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16251 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.7%
Cursor.executepsycopg/cursor.py:1131 ms0.7%
Connection.waitpsycopg/connection.py:4951 ms0.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()8 ms4.2%
TestCase._fixture_teardowndjango/test/testcases.py:14974 ms2.1%
TestCase._should_check_constraintsdjango/test/testcases.py:15064 ms2.1%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5044 ms2.1%
Cursor.executepsycopg/cursor.py:1134 ms2.1%
Connection.waitpsycopg/connection.py:4954 ms2.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.7%
TestCase._fixture_teardowndjango/test/testcases.py:14983 ms1.4%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4953 ms1.4%
CursorWrapper.executedjango/db/backends/utils.py:793 ms1.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms1.4%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms1.4%
Cursor.executepsycopg/cursor.py:1133 ms1.4%
Connection.waitpsycopg/connection.py:4953 ms1.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.7%
TestCase._fixture_teardowndjango/test/testcases.py:15001 ms0.7%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms0.7%
Atomic.__exit__django/db/transaction.py:2951 ms0.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.7%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4131 ms0.7%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3711 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms0.7%
Cursor.executepsycopg/cursor.py:1131 ms0.7%
Connection.waitpsycopg/connection.py:4951 ms0.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.7%
TestOwnerManagement.test_pending_invitation_shown_on_starter_packs_pagestarter_packs/tests.py:608 StarterPackInvitation.objects.create(starter_pack=self.pack, invited_user=self.friend, invited_by=self.owner)3 ms1.4%
TestData.__get__django/test/testcases.py:13701 ms0.7%
deepcopy<stdlib>/copy.py:1561 ms0.7%
_reconstruct<stdlib>/copy.py:2541 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1561 ms0.7%
_reconstruct<stdlib>/copy.py:2541 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1561 ms0.7%
_reconstruct<stdlib>/copy.py:2541 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1561 ms0.7%
_reconstruct<stdlib>/copy.py:2541 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1561 ms0.7%
_reconstruct<stdlib>/copy.py:2541 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1561 ms0.7%
_reconstruct<stdlib>/copy.py:2541 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1301 ms0.7%
_deepcopy_dict<stdlib>/copy.py:2011 ms0.7%
deepcopy<stdlib>/copy.py:1451 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.7%
QuerySet.createdjango/db/models/query.py:7361 ms0.7%
Model.savedjango/db/models/base.py:9041 ms0.7%
Model.save_basedjango/db/models/base.py:9961 ms0.7%
Model._save_tabledjango/db/models/base.py:11991 ms0.7%
Model._do_insertdjango/db/models/base.py:12511 ms0.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms0.7%
QuerySet._insertdjango/db/models/query.py:21411 ms0.7%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19361 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms0.7%
Cursor.executepsycopg/cursor.py:1131 ms0.7%
Connection.waitpsycopg/connection.py:4951 ms0.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.7%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms0.7%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms0.7%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms0.7%
Atomic.__enter__django/db/transaction.py:2231 ms0.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.7%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms0.7%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms0.7%
Cursor.executepsycopg/cursor.py:1131 ms0.7%
Connection.waitpsycopg/connection.py:4951 ms0.7%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.7%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.7%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.7%
Estimated from 142 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/views.py:185
return render(
starter_packs · Templates
120 ms
starter_packs/tests.py:610
response = self.client.get(reverse("starter_packs"))
TestOwnerManagement.test_pending_invitation_shown_on_starter_packs_page · Libraries
26 ms
starter_packs/tests.py:609
self.client.force_login(self.friend)
TestOwnerManagement.test_pending_invitation_shown_on_starter_packs_page · Database
8 ms
starter_packs/views.py:179
pending_invitations = list(
starter_packs · Database
8 ms
starter_packs/tests.py:608
StarterPackInvitation.objects.create(starter_pack=self.pack, invited_user=self.friend, invited_by=self.owner)
TestOwnerManagement.test_pending_invitation_shown_on_starter_packs_page · Deep copies
3 ms

Fixtures

Exact setup time
_django_isolate_apps function 0.06 ms
_template_string_if_invalid_marker function 0.06 ms
_django_db_marker function 0.05 ms
_dj_autoclear_mailbox function 0.05 ms
_live_server_helper 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

28 queries · 25 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:610
164 ms
call _post_teardown
django/test/testcases.py:1243
8 ms
call pytest internals 3 ms
call _pre_setup
django/test/testcases.py:1167
1 ms
setup __init__
__init__:-1
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 178 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 95 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 179 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 185 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 144 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 107 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 110 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 138 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 197 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 210 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 161 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 95 ms 0c23747 main Run