flakytest.dev anze3db flakytest
Tests / apps/projects/tests.py

ProjectPagesTest::test_configure_public

First seen 3 weeks ago in 78a4357
CI github-actions:test 12 runs
Average
52 ms
median 59 ms
max 66 ms
Phases
Setup 0.69 ms Call 51 ms Teardown 0.17 ms
Categories
Database 30 ms Test code 0.18 ms Other (Libraries, Unsampled, pytest) 22 ms

33 database queries per run

Needs 42 KB of memory (max 156 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 16 hours ago · open run
Show pytest frames
setup0.62 ms1.0%
__init____init__:-10.62 ms1.0%
signature<stdlib>/inspect.py:33430.62 ms1.0%
Signature.from_callable<stdlib>/inspect.py:30580.62 ms1.0%
_signature_from_callable<stdlib>/inspect.py:25280.62 ms1.0%
call59 ms98.7%
ProjectPagesTest.test_configure_publicapps/projects/tests.py:1098 response = self.client.post(self.project.url("project_configure"), {})37 ms62.5%
Client.postdjango/test/client.py:115337 ms62.5%
RequestFactory.postdjango/test/client.py:49937 ms62.5%
RequestFactory.genericdjango/test/client.py:67137 ms62.5%
Client.requestdjango/test/client.py:108237 ms62.5%
ClientHandler.__call__django/test/client.py:17327 ms46.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6227 ms46.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10421 ms36.2%
WhiteNoise.add_fileswhitenoise/base.py:10820 ms32.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12018 ms29.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13118 ms29.6%
WhiteNoise.get_static_filewhitenoise/base.py:20816 ms26.3%
StaticFile.__init__whitenoise/responders.py:776 ms9.9%
StaticFile.get_alternativeswhitenoise/responders.py:2006 ms9.9%
__init____init__:-12 ms3.3%
Headers.__init__<stdlib>/wsgiref/headers.py:442 ms3.3%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms3.3%
StaticFile.__init__whitenoise/responders.py:736 ms9.9%
StaticFile.get_headerswhitenoise/responders.py:1764 ms6.6%
formatdate<stdlib>/email/utils.py:2662 ms3.3%
StaticFile.__init__whitenoise/responders.py:742 ms3.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms3.3%
StaticFile.__init__whitenoise/responders.py:722 ms3.3%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms3.3%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms3.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms3.3%
WhiteNoise.add_fileswhitenoise/base.py:982 ms3.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1116 ms9.9%
WhiteNoise.add_fileswhitenoise/base.py:1086 ms9.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1206 ms9.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1316 ms9.9%
WhiteNoise.get_static_filewhitenoise/base.py:2086 ms9.9%
StaticFile.__init__whitenoise/responders.py:732 ms3.3%
StaticFile.get_headerswhitenoise/responders.py:1782 ms3.3%
parsedate<stdlib>/email/_parseaddr.py:1852 ms3.3%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms3.3%
_parsedate_tz<stdlib>/email/_parseaddr.py:1802 ms3.3%
StaticFile.__init__whitenoise/responders.py:772 ms3.3%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms3.3%
ClientHandler.__call__django/test/client.py:1868 ms13.2%
BaseHandler.get_responsedjango/core/handlers/base.py:1418 ms13.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:558 ms13.2%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1308 ms13.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:558 ms13.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3098 ms13.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:558 ms13.2%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1238 ms13.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:558 ms13.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3098 ms13.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:558 ms13.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms9.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms9.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms9.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms9.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms9.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms9.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms9.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms9.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms9.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms9.9%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:346 ms9.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms9.9%
BaseHandler._get_responsedjango/core/handlers/base.py:1986 ms9.9%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:594 ms6.6%
project_configureapps/projects/urls.py:5282 ms3.3%
managed_projectapps/projects/urls.py:642 ms3.3%
can_manageapps/projects/urls.py:442 ms3.3%
can_manage_projectapps/projects/urls.py:40 return user.is_superuser or project.organization.membership_set.filter(user=user).exists()2 ms3.3%
QuerySet.existsdjango/db/models/query.py:13372 ms3.3%
Query.has_resultsdjango/db/models/sql/query.py:6812 ms3.3%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15922 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.3%
Cursor.executepsycopg/cursor.py:1132 ms3.3%
Connection.waitpsycopg/connection.py:4952 ms3.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2052 ms3.3%
BaseCursor._convert_querypsycopg/_cursor_base.py:4652 ms3.3%
project_configureapps/projects/urls.py:531 project.save(update_fields=["public"])2 ms3.3%
Model.savedjango/db/models/base.py:8742 ms3.3%
Model.save_basedjango/db/models/base.py:9662 ms3.3%
Model._save_tabledjango/db/models/base.py:11102 ms3.3%
Model._do_updatedjango/db/models/base.py:12112 ms3.3%
QuerySet._updatedjango/db/models/query.py:13272 ms3.3%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21402 ms3.3%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21112 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.3%
Cursor.executepsycopg/cursor.py:1132 ms3.3%
Connection.waitpsycopg/connection.py:4952 ms3.3%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:562 ms3.3%
login_required.<locals>.<lambda>django/contrib/auth/decorators.py:792 ms3.3%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2512 ms3.3%
SimpleLazyObject._setupdjango/utils/functional.py:4042 ms3.3%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:402 ms3.3%
get_userdjango/contrib/auth/middleware.py:202 ms3.3%
get_userdjango/contrib/auth/__init__.py:3182 ms3.3%
ModelBackend.get_userdjango/contrib/auth/backends.py:2322 ms3.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.3%
QuerySet.getdjango/db/models/query.py:6352 ms3.3%
QuerySet.__len__django/db/models/query.py:3722 ms3.3%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.3%
ModelIterable.__iter__django/db/models/query.py:952 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms3.3%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7672 ms3.3%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:882 ms3.3%
WhereNode.split_having_qualifydjango/db/models/sql/where.py:472 ms3.3%
ClientHandler.__call__django/test/client.py:1782 ms3.3%
__init____init__:-12 ms3.3%
WSGIRequest.__init__django/core/handlers/wsgi.py:732 ms3.3%
HttpRequest._set_content_type_paramsdjango/http/request.py:1562 ms3.3%
parse_header_parametersdjango/utils/http.py:3462 ms3.3%
ProjectPagesTest.setUpapps/projects/tests.py:954 self.client.force_login(self.user)12 ms19.7%
ClientMixin.force_logindjango/test/client.py:85512 ms19.7%
ClientMixin._logindjango/test/client.py:8816 ms9.9%
logindjango/contrib/auth/__init__.py:1874 ms6.6%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4342 ms3.3%
SessionStore.createdjango/contrib/sessions/backends/db.py:742 ms3.3%
SessionStore.savedjango/contrib/sessions/backends/db.py:1262 ms3.3%
Atomic.__enter__django/db/transaction.py:2112 ms3.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms3.3%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4372 ms3.3%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1752 ms3.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.3%
QuerySet.getdjango/db/models/query.py:6352 ms3.3%
QuerySet.__len__django/db/models/query.py:3722 ms3.3%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.3%
ModelIterable.__iter__django/db/models/query.py:952 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16222 ms3.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.3%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3202 ms3.3%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2982 ms3.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.3%
logindjango/contrib/auth/__init__.py:1752 ms3.3%
SessionBase.__contains__django/contrib/sessions/backends/base.py:522 ms3.3%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2512 ms3.3%
SessionStore.loaddjango/contrib/sessions/backends/db.py:552 ms3.3%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:342 ms3.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.3%
QuerySet.getdjango/db/models/query.py:6352 ms3.3%
QuerySet.__len__django/db/models/query.py:3722 ms3.3%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.3%
ModelIterable.__iter__django/db/models/query.py:952 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.3%
Cursor.executepsycopg/cursor.py:1132 ms3.3%
Connection.waitpsycopg/connection.py:4952 ms3.3%
ClientMixin._logindjango/test/client.py:8764 ms6.6%
ClientMixin.sessiondjango/test/client.py:8124 ms6.6%
SessionStore.savedjango/contrib/sessions/backends/db.py:1214 ms6.6%
SessionStore.createdjango/contrib/sessions/backends/db.py:702 ms3.3%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:1982 ms3.3%
SessionStore.existsdjango/contrib/sessions/backends/db.py:632 ms3.3%
QuerySet.existsdjango/db/models/query.py:13372 ms3.3%
Query.has_resultsdjango/db/models/sql/query.py:6812 ms3.3%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15922 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms3.3%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7672 ms3.3%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:862 ms3.3%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:752 ms3.3%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3172 ms3.3%
SessionStore.createdjango/contrib/sessions/backends/db.py:742 ms3.3%
SessionStore.savedjango/contrib/sessions/backends/db.py:1272 ms3.3%
Model.savedjango/db/models/base.py:8742 ms3.3%
Model.save_basedjango/db/models/base.py:9662 ms3.3%
Model._save_tabledjango/db/models/base.py:11672 ms3.3%
Model._do_insertdjango/db/models/base.py:12182 ms3.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.3%
QuerySet._insertdjango/db/models/query.py:19182 ms3.3%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19252 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.3%
Cursor.executepsycopg/cursor.py:1132 ms3.3%
Connection.waitpsycopg/connection.py:4952 ms3.3%
ClientMixin._logindjango/test/client.py:8832 ms3.3%
SessionStore.savedjango/contrib/sessions/backends/db.py:1272 ms3.3%
Model.savedjango/db/models/base.py:8742 ms3.3%
Model.save_basedjango/db/models/base.py:9662 ms3.3%
Model._save_tabledjango/db/models/base.py:11102 ms3.3%
Model._do_updatedjango/db/models/base.py:12112 ms3.3%
QuerySet._updatedjango/db/models/query.py:13272 ms3.3%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21402 ms3.3%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21112 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.3%
Cursor.executepsycopg/cursor.py:1132 ms3.3%
ProjectPagesTest.test_configure_publicapps/projects/tests.py:1102 self.client.post(self.project.url("project_configure"), {"public": "on"})6 ms9.9%
Client.postdjango/test/client.py:11534 ms6.6%
RequestFactory.postdjango/test/client.py:4994 ms6.6%
RequestFactory.genericdjango/test/client.py:6714 ms6.6%
Client.requestdjango/test/client.py:10824 ms6.6%
ClientHandler.__call__django/test/client.py:1864 ms6.6%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:344 ms6.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms6.6%
BaseHandler._get_responsedjango/core/handlers/base.py:1984 ms6.6%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:562 ms3.3%
login_required.<locals>.<lambda>django/contrib/auth/decorators.py:792 ms3.3%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2512 ms3.3%
SimpleLazyObject._setupdjango/utils/functional.py:4042 ms3.3%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:402 ms3.3%
get_userdjango/contrib/auth/middleware.py:202 ms3.3%
get_userdjango/contrib/auth/__init__.py:3182 ms3.3%
ModelBackend.get_userdjango/contrib/auth/backends.py:2322 ms3.3%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.3%
QuerySet.getdjango/db/models/query.py:6252 ms3.3%
QuerySet.filterdjango/db/models/query.py:15422 ms3.3%
QuerySet._filter_or_excludedjango/db/models/query.py:15602 ms3.3%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:15702 ms3.3%
Query.add_qdjango/db/models/sql/query.py:16712 ms3.3%
Query._add_qdjango/db/models/sql/query.py:17032 ms3.3%
Query.build_filterdjango/db/models/sql/query.py:15772 ms3.3%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:592 ms3.3%
project_configureapps/projects/urls.py:531 project.save(update_fields=["public"])2 ms3.3%
Model.savedjango/db/models/base.py:8742 ms3.3%
Model.save_basedjango/db/models/base.py:9812 ms3.3%
Project.urlapps/projects/models.py:59 return reverse(name, args=[self.organization.slug, self.slug, *args])2 ms3.3%
ForwardManyToOneDescriptor.__get__django/db/models/fields/related_descriptors.py:2572 ms3.3%
ForwardManyToOneDescriptor.get_objectdjango/db/models/fields/related_descriptors.py:2222 ms3.3%
QuerySet.getdjango/db/models/query.py:6352 ms3.3%
QuerySet.__len__django/db/models/query.py:3722 ms3.3%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.3%
ModelIterable.__iter__django/db/models/query.py:952 ms3.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.3%
Cursor.executepsycopg/cursor.py:1132 ms3.3%
Connection.waitpsycopg/connection.py:4952 ms3.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms6.6%
TestCase._fixture_teardowndjango/test/testcases.py:14954 ms6.6%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4834 ms6.6%
CursorWrapper.executedjango/db/backends/utils.py:794 ms6.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms6.6%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms6.6%
Cursor.executepsycopg/cursor.py:1134 ms6.6%
Connection.waitpsycopg/connection.py:4954 ms6.6%
Estimated from 31 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

apps/projects/tests.py:1098
response = self.client.post(self.project.url("project_configure"), {})
ProjectPagesTest.test_configure_public · Libraries
33 ms
apps/projects/tests.py:954
self.client.force_login(self.user)
ProjectPagesTest.setUp · Database
12 ms
apps/projects/urls.py:531
project.save(update_fields=["public"])
project_configure · Database
4 ms
apps/projects/urls.py:40
return user.is_superuser or project.organization.membership_set.filter(user=user).exists()
can_manage_project · Database
2 ms
apps/projects/models.py:59
return reverse(name, args=[self.organization.slug, self.slug, *args])
Project.url · Database
2 ms
apps/projects/tests.py:1102
self.client.post(self.project.url("project_configure"), {"public": "on"})
ProjectPagesTest.test_configure_public · Database
2 ms

Fixtures

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

Database

33 queries · 11 ms

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

3×
SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."expire_date" > %s AND "django_session"."session_key" = %s) LIMIT ?

Biggest pieces of work

call test body
apps/projects/tests.py:1098
43 ms
call setUp
apps/projects/tests.py:954
12 ms
call _post_teardown
django/test/testcases.py:1240
4 ms
setup __init__
__init__:-1
0.62 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
16 hours ago CI github-actions:test passed 59 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 33 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 53 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 47 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 66 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 35 ms b3fedae main Profile
2 weeks, 4 days ago CI github-actions:test passed 60 ms 43c4eda main Profile
2 weeks, 6 days ago CI github-actions:test passed 63 ms 9caa567 main Profile
2 weeks, 6 days ago CI github-actions:test passed 59 ms ec75501 main Profile
3 weeks ago CI github-actions:test passed 59 ms d2c12e5 main Profile
3 weeks ago CI github-actions:test passed 32 ms 0b902f6 main Profile
3 weeks ago CI github-actions:test passed 60 ms 78a4357 main Profile