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

TestShareStarterPack::test_non_discoverable_accounts

First seen 1 year, 10 months ago in 9225ae0
CI github-actions:test 4 runs
Average
281 ms
median 217 ms
max 617 ms
Phases
Setup 2 ms Call 279 ms Teardown 0.31 ms
Categories
Database 66 ms Test code 0.57 ms Other (Libraries, pytest, Templates, Unsampled) 214 ms

19 database queries per run

Needs 232 KB of memory (max 352 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Hide pytest frames
setup0.79 ms1.1%
CallInfo.from_call_pytest/runner.py:3610.79 ms1.1%
call_and_report.<locals>.<lambda>_pytest/runner.py:2500.79 ms1.1%
HookCaller.__call__pluggy/_hooks.py:5120.79 ms1.1%
PluginManager._hookexecpluggy/_manager.py:1200.79 ms1.1%
_multicallpluggy/_callers.py:1210.79 ms1.1%
pytest_runtest_setup_pytest/runner.py:1700.79 ms1.1%
SetupState.setup_pytest/runner.py:5360.79 ms1.1%
TestCaseFunction.setup_pytest/unittest.py:2480.79 ms1.1%
Function.setup_pytest/python.py:17100.79 ms1.1%
TopRequest._fillfixtures_pytest/fixtures.py:8060.79 ms1.1%
FixtureRequest.getfixturevalue_pytest/fixtures.py:6300.79 ms1.1%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:7110.79 ms1.1%
SubRequest.__init___pytest/fixtures.py:8460.79 ms1.1%
call73 ms98.6%
CallInfo.from_call_pytest/runner.py:36173 ms98.6%
call_and_report.<locals>.<lambda>_pytest/runner.py:25073 ms98.6%
HookCaller.__call__pluggy/_hooks.py:51273 ms98.6%
PluginManager._hookexecpluggy/_manager.py:12073 ms98.6%
_multicallpluggy/_callers.py:12171 ms95.6%
pytest_runtest_call_pytest/runner.py:18471 ms95.6%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61471 ms95.6%
SimpleTestCase.__call__django/test/testcases.py:31471 ms95.6%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36964 ms86.6%
TestCase.__call__<stdlib>/unittest/case.py:74764 ms86.6%
TestCase.run<stdlib>/unittest/case.py:69164 ms86.6%
TestCase._callTestMethod<stdlib>/unittest/case.py:63764 ms86.6%
TestShareStarterPack.test_non_discoverable_accountsstarter_packs/tests.py:736 response = self.client.get(reverse("share_starter_pack", args=[self.starter_pack.slug]))53 ms71.7%
Client.getdjango/test/client.py:113353 ms71.7%
RequestFactory.getdjango/test/client.py:47553 ms71.7%
RequestFactory.genericdjango/test/client.py:67153 ms71.7%
Client.requestdjango/test/client.py:109153 ms71.7%
ClientHandler.__call__django/test/client.py:17329 ms38.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6329 ms38.8%
__init____init__:-129 ms38.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10429 ms38.8%
WhiteNoise.add_fileswhitenoise/base.py:10829 ms38.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12020 ms26.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13118 ms23.9%
WhiteNoise.get_static_filewhitenoise/base.py:21716 ms20.9%
StaticFile.__init__whitenoise/responders.py:774 ms6.0%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms3.0%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms3.0%
__init____init__:-12 ms3.0%
StaticFile.__init__whitenoise/responders.py:734 ms6.0%
StaticFile.get_headerswhitenoise/responders.py:1762 ms3.0%
formatdate<stdlib>/email/utils.py:2662 ms3.0%
StaticFile.__init__whitenoise/responders.py:752 ms3.0%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms3.0%
StaticFile.__init__whitenoise/responders.py:762 ms3.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms3.0%
StaticFile.__init__whitenoise/responders.py:742 ms3.0%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms3.0%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms3.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:2332 ms3.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms3.0%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms3.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms11.9%
scantreewhitenoise/base.py:2719 ms11.9%
scantreewhitenoise/base.py:2719 ms11.9%
scantreewhitenoise/base.py:2714 ms6.0%
scantreewhitenoise/base.py:2714 ms6.0%
scantreewhitenoise/base.py:2714 ms6.0%
scantreewhitenoise/base.py:2692 ms3.0%
scantreewhitenoise/base.py:2732 ms3.0%
<GC>~2 ms3.0%
scantreewhitenoise/base.py:2732 ms3.0%
scantreewhitenoise/base.py:2692 ms3.0%
ClientHandler.__call__django/test/client.py:18624 ms32.9%
BaseHandler.get_responsedjango/core/handlers/base.py:14224 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12324 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14524 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38024 ms32.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5624 ms32.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38022 ms29.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5622 ms29.9%
MiddlewareMixin.__call__django/utils/deprecation.py:38022 ms29.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5622 ms29.9%
BaseHandler._get_responsedjango/core/handlers/base.py:19922 ms29.9%
share_starter_packstarter_packs/views.py:862 return render(9 ms11.9%
renderdjango/shortcuts.py:279 ms11.9%
render_to_stringdjango/template/loader.py:629 ms11.9%
Template.renderdjango/template/backends/django.py:1079 ms11.9%
Template.renderdjango/template/base.py:1759 ms11.9%
instrumented_test_renderdjango/test/utils.py:1139 ms11.9%
NodeList.renderdjango/template/base.py:11089 ms11.9%
Node.render_annotateddjango/template/base.py:10699 ms11.9%
ExtendsNode.renderdjango/template/loader_tags.py:1609 ms11.9%
instrumented_test_renderdjango/test/utils.py:1139 ms11.9%
NodeList.renderdjango/template/base.py:11089 ms11.9%
Node.render_annotateddjango/template/base.py:10697 ms9.0%
BlockNode.renderdjango/template/loader_tags.py:664 ms6.0%
NodeList.renderdjango/template/base.py:11084 ms6.0%
Node.render_annotateddjango/template/base.py:10694 ms6.0%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms3.0%
Template.renderdjango/template/base.py:1772 ms3.0%
instrumented_test_renderdjango/test/utils.py:1132 ms3.0%
NodeList.renderdjango/template/base.py:11082 ms3.0%
Node.render_annotateddjango/template/base.py:10692 ms3.0%
ForNode.renderdjango/template/defaulttags.py:2492 ms3.0%
Node.render_annotateddjango/template/base.py:10692 ms3.0%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms3.0%
Template.renderdjango/template/base.py:1772 ms3.0%
instrumented_test_renderdjango/test/utils.py:1132 ms3.0%
NodeList.renderdjango/template/base.py:11082 ms3.0%
Node.render_annotateddjango/template/base.py:10692 ms3.0%
IfNode.renderdjango/template/defaulttags.py:3332 ms3.0%
IfNode.renderdjango/template/defaulttags.py:3322 ms3.0%
Page.__len__django/core/paginator.py:3122 ms3.0%
QuerySet.__len__django/db/models/query.py:4212 ms3.0%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.0%
ModelIterable.__iter__django/db/models/query.py:1032 ms3.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms3.0%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms3.0%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms3.0%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms3.0%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3102 ms3.0%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12672 ms3.0%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12282 ms3.0%
StaticNode.renderdjango/templatetags/static.py:1162 ms3.0%
StaticNode.urldjango/templatetags/static.py:1132 ms3.0%
StaticNode.handle_simpledjango/templatetags/static.py:1292 ms3.0%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms3.0%
share_starter_packstarter_packs/views.py:858 owners = list(starter_pack.owners.select_related("accountaccess__account").order_by("username"))4 ms6.0%
ReverseManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:6972 ms3.0%
create_forward_many_to_many_manager.<locals>.ManyRelatedManager.__init__django/db/models/fields/related_descriptors.py:10832 ms3.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.0%
QuerySet.select_relateddjango/db/models/query.py:17882 ms3.0%
QuerySet._not_support_combined_queriesdjango/db/models/query.py:23362 ms3.0%
QuerySet.querydjango/db/models/query.py:3552 ms3.0%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms3.0%
Query.add_qdjango/db/models/sql/query.py:16812 ms3.0%
Query._add_qdjango/db/models/sql/query.py:17132 ms3.0%
Query.build_filterdjango/db/models/sql/query.py:15772 ms3.0%
Query.setup_joinsdjango/db/models/sql/query.py:19922 ms3.0%
share_starter_packstarter_packs/views.py:729 starter_pack = get_object_or_404(StarterPack, slug=starter_pack_slug, deleted_at__isnull=True)2 ms3.0%
get_object_or_404django/shortcuts.py:1002 ms3.0%
QuerySet.getdjango/db/models/query.py:7022 ms3.0%
QuerySet.__len__django/db/models/query.py:4212 ms3.0%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.0%
ModelIterable.__iter__django/db/models/query.py:1032 ms3.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.0%
Cursor.executepsycopg/cursor.py:1132 ms3.0%
Connection.waitpsycopg/connection.py:4952 ms3.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.0%
share_starter_packstarter_packs/views.py:860 header_avatars = pack_header_avatars([starter_pack.id], limit=18).get(starter_pack.id, [])2 ms3.0%
pack_header_avatarsstarter_packs/views.py:89 for pack_id, avatar, handle, name in rows:2 ms3.0%
QuerySet.__iter__django/db/models/query.py:4392 ms3.0%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.0%
ValuesListIterable.__iter__django/db/models/query.py:2632 ms3.0%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms3.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.0%
Cursor.executepsycopg/cursor.py:1132 ms3.0%
Connection.waitpsycopg/connection.py:4952 ms3.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.0%
share_starter_packstarter_packs/views.py:882 "num_hidden_accounts": Account.objects.exclude(2 ms3.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.0%
QuerySet.excludedjango/db/models/query.py:16842 ms3.0%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms3.0%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17022 ms3.0%
Query.add_qdjango/db/models/sql/query.py:16812 ms3.0%
Query._add_qdjango/db/models/sql/query.py:17132 ms3.0%
Query.build_filterdjango/db/models/sql/query.py:16132 ms3.0%
Query.build_lookupdjango/db/models/sql/query.py:14302 ms3.0%
share_starter_packstarter_packs/views.py:886 .count(),2 ms3.0%
QuerySet.countdjango/db/models/query.py:6772 ms3.0%
Query.get_countdjango/db/models/sql/query.py:6572 ms3.0%
Query.get_aggregationdjango/db/models/sql/query.py:6392 ms3.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.0%
Cursor.executepsycopg/cursor.py:1132 ms3.0%
Connection.waitpsycopg/connection.py:4952 ms3.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3792 ms3.0%
MessageMiddleware.process_requestdjango/contrib/messages/middleware.py:122 ms3.0%
default_storagedjango/contrib/messages/storage/__init__.py:122 ms3.0%
FallbackStorage.__init__django/contrib/messages/storage/fallback.py:172 ms3.0%
CookieStorage.__init__django/contrib/messages/storage/cookie.py:922 ms3.0%
TestShareStarterPack.test_non_discoverable_accountsstarter_packs/tests.py:743 self.assertNotContains(response, account.account.username)7 ms9.0%
ForwardManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:2667 ms9.0%
FetchOne.fetchdjango/db/models/fetch_modes.py:177 ms9.0%
ForwardManyToOneDescriptor.fetch_onedjango/db/models/fields/related_descriptors.py:2797 ms9.0%
ForwardManyToOneDescriptor.get_objectdjango/db/models/fields/related_descriptors.py:2317 ms9.0%
QuerySet.getdjango/db/models/query.py:7027 ms9.0%
QuerySet.__len__django/db/models/query.py:4217 ms9.0%
QuerySet._fetch_alldjango/db/models/query.py:22627 ms9.0%
ModelIterable.__iter__django/db/models/query.py:1037 ms9.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms6.0%
CursorWrapper.executedjango/db/backends/utils.py:794 ms6.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms6.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms6.0%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms6.0%
Cursor.executepsycopg/cursor.py:1134 ms6.0%
Connection.waitpsycopg/connection.py:4954 ms6.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms6.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms6.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms6.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms3.0%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms3.0%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms3.0%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms3.0%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2652 ms3.0%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10302 ms3.0%
Query.join_parent_modeldjango/db/models/sql/query.py:11992 ms3.0%
TestShareStarterPack.test_non_discoverable_accountsstarter_packs/tests.py:733 Account.objects.update(discoverable=False)2 ms3.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.0%
QuerySet.updatedjango/db/models/query.py:14212 ms3.0%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21212 ms3.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.0%
Cursor.executepsycopg/cursor.py:1132 ms3.0%
Connection.waitpsycopg/connection.py:4952 ms3.0%
TestShareStarterPack.test_non_discoverable_accountsstarter_packs/tests.py:741 for account in self.starter_pack.starterpackaccount_set.all():2 ms3.0%
QuerySet.__iter__django/db/models/query.py:4392 ms3.0%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.0%
ModelIterable.__iter__django/db/models/query.py:1032 ms3.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.0%
Cursor.executepsycopg/cursor.py:1132 ms3.0%
Connection.waitpsycopg/connection.py:4952 ms3.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3724 ms6.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms6.0%
TestCase._fixture_teardowndjango/test/testcases.py:14984 ms6.0%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4954 ms6.0%
CursorWrapper.executedjango/db/backends/utils.py:794 ms6.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms6.0%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms6.0%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms6.0%
Cursor.executepsycopg/cursor.py:1134 ms6.0%
Connection.waitpsycopg/connection.py:4954 ms6.0%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms6.0%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms6.0%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms6.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3602 ms3.0%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms3.0%
_multicallpluggy/_callers.py:1522 ms3.0%
CaptureManager.pytest_runtest_call_pytest/capture.py:8992 ms3.0%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2102 ms3.0%
CaptureManager.item_capture_pytest/capture.py:8672 ms3.0%
CaptureManager.read_global_capture_pytest/capture.py:8032 ms3.0%
MultiCapture.readouterr_pytest/capture.py:7062 ms3.0%
FDCapture.snap_pytest/capture.py:5922 ms3.0%
Estimated from 34 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Hot lines in your code

starter_packs/tests.py:736
response = self.client.get(reverse("share_starter_pack", args=[self.starter_pack.slug]))
TestShareStarterPack.test_non_discoverable_accounts · Libraries
31 ms
starter_packs/views.py:862
return render(
share_starter_pack · Templates
9 ms
starter_packs/tests.py:743
self.assertNotContains(response, account.account.username)
TestShareStarterPack.test_non_discoverable_accounts · Database
7 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/tests.py:733
Account.objects.update(discoverable=False)
TestShareStarterPack.test_non_discoverable_accounts · Database
2 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
2 ms
starter_packs/views.py:89
for pack_id, avatar, handle, name in rows:
pack_header_avatars · Database
2 ms
starter_packs/views.py:882
"num_hidden_accounts": Account.objects.exclude(
share_starter_pack · Database
2 ms
starter_packs/views.py:886
.count(),
share_starter_pack · Database
2 ms
starter_packs/tests.py:741
for account in self.starter_pack.starterpackaccount_set.all():
TestShareStarterPack.test_non_discoverable_accounts · Database
2 ms

Fixtures

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

Database

19 queries · 11 ms

Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).

5×
SELECT "accounts_account"."id", "accounts_account"."account_id", "accounts_account"."instance", "accounts_account"."instance_model_id", "accounts_account"."username_at_instance", "accounts_account"."search", "accounts_account"."username", "accounts_account"."acct", "accounts_account"."display_name"…

Biggest pieces of work

call test body
starter_packs/tests.py:743
64 ms
call _post_teardown
django/test/testcases.py:1243
4 ms
call _pre_setup
django/test/testcases.py:1167
2 ms
call pytest internals 2 ms
setup pytest internals 0.79 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 50 results, oldest first in the strip
When Environment Outcome Duration Commit
8 hours ago CI github-actions:test passed 74 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 264 ms 82997f8 main Profile
8 hours ago CI github-actions:test passed 617 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 170 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 98 ms 0c23747 main Run
3 months, 3 weeks ago CI github-actions passed 78 ms 69d78ea HEAD Run
3 months, 3 weeks ago CI github-actions passed 113 ms 8fac7b5 main Run
3 months, 3 weeks ago CI github-actions passed 117 ms 36b9579 main Run
3 months, 3 weeks ago CI github-actions passed 130 ms 553d048 main Run
3 months, 3 weeks ago CI github-actions passed 116 ms 8eb0f44 HEAD Run
3 months, 3 weeks ago CI github-actions passed 129 ms e0fb3ac HEAD Run
3 months, 3 weeks ago CI github-actions passed 115 ms a849b58 HEAD Run
3 months, 3 weeks ago CI github-actions passed 126 ms 6418e05 HEAD Run
3 months, 3 weeks ago CI github-actions passed 131 ms 5b9b309 main Run
3 months, 4 weeks ago CI github-actions passed 131 ms 1f2c5a6 main Run
3 months, 4 weeks ago CI github-actions passed 121 ms 5ec7fa8 main Run
3 months, 4 weeks ago CI github-actions passed 123 ms 1e42064 main Run
3 months, 4 weeks ago CI github-actions passed 120 ms fcb1b79 main Run
3 months, 4 weeks ago CI github-actions passed 130 ms 1460ac2 HEAD Run
3 months, 4 weeks ago CI github-actions passed 124 ms 8129f09 HEAD Run