flakytest.dev anze3db flakytest
Tests / ft/tests.py

TestTrubleshootingPage::test_troubleshooting_with_project

First seen 2 years, 9 months ago in b9e98d9
CI github-actions:test 5 runs
Average
54 ms
median 58 ms
max 65 ms
Phases
Setup 0.82 ms Call 52 ms Teardown 0.62 ms
Categories
Database 27 ms Password hashing 0.42 ms Other (Libraries, Unsampled, Templates) 26 ms

36 database queries per run

Needs 159 KB of memory (max 796 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, an hour ago · open run
Hide pytest frames
call60 ms97.4%
CallInfo.from_call_pytest/runner.py:35360 ms97.4%
call_and_report.<locals>.<lambda>_pytest/runner.py:24560 ms97.4%
HookCaller.__call__pluggy/_hooks.py:51260 ms97.4%
PluginManager._hookexecpluggy/_manager.py:12060 ms97.4%
_multicallpluggy/_callers.py:12160 ms97.4%
pytest_runtest_call_pytest/runner.py:17960 ms97.4%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:57360 ms97.4%
SimpleTestCase.__call__django/test/testcases.py:31360 ms97.4%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36858 ms93.9%
TestCase.__call__<stdlib>/unittest/case.py:74758 ms93.9%
TestCase.run<stdlib>/unittest/case.py:69158 ms93.9%
TestCase._callTestMethod<stdlib>/unittest/case.py:63758 ms93.9%
TestTrubleshootingPage.test_troubleshooting_with_projectft/tests.py:106 response = self.client.get(project.url("project_troubleshooting"))32 ms52.2%
Client.getdjango/test/client.py:112432 ms52.2%
RequestFactory.getdjango/test/client.py:47532 ms52.2%
RequestFactory.genericdjango/test/client.py:67132 ms52.2%
Client.requestdjango/test/client.py:108232 ms52.2%
ClientHandler.__call__django/test/client.py:17326 ms41.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6224 ms38.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10424 ms38.2%
WhiteNoise.add_fileswhitenoise/base.py:10824 ms38.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12015 ms24.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13115 ms24.3%
WhiteNoise.get_static_filewhitenoise/base.py:2089 ms13.9%
StaticFile.__init__whitenoise/responders.py:776 ms10.4%
StaticFile.get_alternativeswhitenoise/responders.py:2014 ms7.0%
StaticFile.get_alternativeswhitenoise/responders.py:1982 ms3.5%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:1982 ms3.5%
<GC>~2 ms3.5%
StaticFile.__init__whitenoise/responders.py:762 ms3.5%
WhiteNoise.get_static_filewhitenoise/base.py:2036 ms10.4%
WhiteNoise.add_cache_headerswhitenoise/base.py:2246 ms10.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1766 ms10.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1976 ms10.4%
URLMixin.urldebug_toolbar/panels/staticfiles.py:206 ms10.4%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms3.5%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1862 ms3.5%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2092 ms3.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms13.9%
scantreewhitenoise/base.py:2626 ms10.4%
scantreewhitenoise/base.py:2626 ms10.4%
scantreewhitenoise/base.py:2644 ms7.0%
scantreewhitenoise/base.py:2622 ms3.5%
scantreewhitenoise/base.py:2622 ms3.5%
scantreewhitenoise/base.py:2622 ms3.5%
scantreewhitenoise/base.py:2642 ms3.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:962 ms3.5%
ClientHandler.__call__django/test/client.py:1866 ms10.4%
BaseHandler.get_responsedjango/core/handlers/base.py:1416 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1306 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1236 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3096 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:346 ms10.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:556 ms10.4%
BaseHandler._get_responsedjango/core/handlers/base.py:1986 ms10.4%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:594 ms7.0%
project_troubleshootingapps/projects/urls.py:6222 ms3.5%
managed_projectapps/projects/urls.py:61 project = get_object_or_404(2 ms3.5%
get_object_or_404django/shortcuts.py:902 ms3.5%
QuerySet.getdjango/db/models/query.py:6352 ms3.5%
QuerySet.__len__django/db/models/query.py:3722 ms3.5%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.5%
ModelIterable.__iter__django/db/models/query.py:952 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
project_troubleshootingapps/projects/urls.py:623 token = project.secrettokens_set.first()2 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet.firstdjango/db/models/query.py:11452 ms3.5%
QuerySet.__iter__django/db/models/query.py:3902 ms3.5%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.5%
ModelIterable.__iter__django/db/models/query.py:952 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms3.5%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7672 ms3.5%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:872 ms3.5%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:5282 ms3.5%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5782 ms3.5%
OrderBy.as_sqldjango/db/models/expressions.py:19312 ms3.5%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:562 ms3.5%
login_required.<locals>.<lambda>django/contrib/auth/decorators.py:792 ms3.5%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2512 ms3.5%
SimpleLazyObject._setupdjango/utils/functional.py:4042 ms3.5%
AuthenticationMiddleware.process_request.<locals>.<lambda>django/contrib/auth/middleware.py:402 ms3.5%
get_userdjango/contrib/auth/middleware.py:202 ms3.5%
get_userdjango/contrib/auth/__init__.py:3112 ms3.5%
_get_user_session_keydjango/contrib/auth/__init__.py:952 ms3.5%
SessionBase.__getitem__django/contrib/sessions/backends/base.py:552 ms3.5%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2512 ms3.5%
SessionStore.loaddjango/contrib/sessions/backends/db.py:552 ms3.5%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:342 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet.getdjango/db/models/query.py:6352 ms3.5%
QuerySet.__len__django/db/models/query.py:3722 ms3.5%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.5%
ModelIterable.__iter__django/db/models/query.py:952 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
TestTrubleshootingPage.test_troubleshooting_with_projectft/tests.py:102 self.client.force_login(user)13 ms20.9%
ClientMixin.force_logindjango/test/client.py:85513 ms20.9%
ClientMixin._logindjango/test/client.py:88111 ms17.4%
logindjango/contrib/auth/__init__.py:1879 ms13.9%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4344 ms7.0%
SessionStore.createdjango/contrib/sessions/backends/db.py:702 ms3.5%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:1982 ms3.5%
SessionStore.existsdjango/contrib/sessions/backends/db.py:632 ms3.5%
QuerySet.existsdjango/db/models/query.py:13372 ms3.5%
Query.has_resultsdjango/db/models/sql/query.py:6812 ms3.5%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15922 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.5%
SessionStore.createdjango/contrib/sessions/backends/db.py:742 ms3.5%
SessionStore.savedjango/contrib/sessions/backends/db.py:1262 ms3.5%
Atomic.__exit__django/db/transaction.py:2472 ms3.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.5%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms3.5%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4374 ms7.0%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1754 ms7.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet.getdjango/db/models/query.py:6352 ms3.5%
QuerySet.__len__django/db/models/query.py:3722 ms3.5%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.5%
ModelIterable.__iter__django/db/models/query.py:952 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
Model.deletedjango/db/models/base.py:12982 ms3.5%
Collector.deletedjango/db/models/deletion.py:4522 ms3.5%
DeleteQuery.delete_batchdjango/db/models/sql/subqueries.py:432 ms3.5%
DeleteQuery.do_querydjango/db/models/sql/subqueries.py:252 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
logindjango/contrib/auth/__init__.py:1752 ms3.5%
SessionBase.__contains__django/contrib/sessions/backends/base.py:522 ms3.5%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2512 ms3.5%
SessionStore.loaddjango/contrib/sessions/backends/db.py:552 ms3.5%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:342 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet.getdjango/db/models/query.py:6352 ms3.5%
QuerySet.__len__django/db/models/query.py:3722 ms3.5%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.5%
ModelIterable.__iter__django/db/models/query.py:952 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms3.5%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7672 ms3.5%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:882 ms3.5%
WhereNode.split_having_qualifydjango/db/models/sql/where.py:472 ms3.5%
ClientMixin._logindjango/test/client.py:8762 ms3.5%
ClientMixin.sessiondjango/test/client.py:8122 ms3.5%
SessionStore.savedjango/contrib/sessions/backends/db.py:1212 ms3.5%
SessionStore.createdjango/contrib/sessions/backends/db.py:742 ms3.5%
SessionStore.savedjango/contrib/sessions/backends/db.py:1272 ms3.5%
Model.savedjango/db/models/base.py:8742 ms3.5%
Model.save_basedjango/db/models/base.py:9662 ms3.5%
Model._save_tabledjango/db/models/base.py:11672 ms3.5%
Model._do_insertdjango/db/models/base.py:12182 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
TestTrubleshootingPage.test_troubleshooting_with_projectft/tests.py:1034 ms7.0%
make_projectapps/projects/testing.py:61 organization = Organization.objects.create(2 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet.createdjango/db/models/query.py:6692 ms3.5%
Model.savedjango/db/models/base.py:8742 ms3.5%
Model.save_basedjango/db/models/base.py:9662 ms3.5%
Model._save_tabledjango/db/models/base.py:11672 ms3.5%
Model._do_insertdjango/db/models/base.py:12182 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet._insertdjango/db/models/query.py:19182 ms3.5%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19252 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
make_projectapps/projects/testing.py:67 slug=unique_slug(name, organization.project_set.all(), fallback="project", reserved=RESERVED_PROJECT_SLUGS),2 ms3.5%
unique_slugapps/orgs/models.py:46 while slug in reserved or taken.filter(slug=slug).exists():2 ms3.5%
QuerySet.existsdjango/db/models/query.py:13372 ms3.5%
Query.has_resultsdjango/db/models/sql/query.py:6812 ms3.5%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15922 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
TestTrubleshootingPage.test_troubleshooting_with_projectft/tests.py:1054 ms7.0%
add_memberapps/projects/testing.py:76 membership, _ = Membership.objects.get_or_create(4 ms7.0%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:874 ms7.0%
QuerySet.get_or_createdjango/db/models/query.py:9872 ms3.5%
QuerySet.getdjango/db/models/query.py:6352 ms3.5%
QuerySet.__len__django/db/models/query.py:3722 ms3.5%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.5%
ModelIterable.__iter__django/db/models/query.py:952 ms3.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
QuerySet.get_or_createdjango/db/models/query.py:9942 ms3.5%
QuerySet.createdjango/db/models/query.py:6692 ms3.5%
Model.savedjango/db/models/base.py:8742 ms3.5%
Model.save_basedjango/db/models/base.py:9662 ms3.5%
Model._save_tabledjango/db/models/base.py:11672 ms3.5%
Model._do_insertdjango/db/models/base.py:12182 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet._insertdjango/db/models/query.py:19182 ms3.5%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19252 ms3.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms3.5%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
TestTrubleshootingPage.test_troubleshooting_with_projectft/tests.py:101 user = User.objects.create_user("testuser")2 ms3.5%
UserManager.create_userdjango/contrib/auth/models.py:1752 ms3.5%
UserManager._create_userdjango/contrib/auth/models.py:1622 ms3.5%
UserManager._create_user_objectdjango/contrib/auth/models.py:1552 ms3.5%
make_passworddjango/contrib/auth/hashers.py:1102 ms3.5%
TestTrubleshootingPage.test_troubleshooting_with_projectft/tests.py:109 self.assertContains(response, project.secrettokens_set.first().token)2 ms3.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms3.5%
QuerySet.firstdjango/db/models/query.py:11402 ms3.5%
QuerySet.ordereddjango/db/models/query.py:18672 ms3.5%
InstanceCheckMeta.__instancecheck__django/db/models/query.py:21022 ms3.5%
QuerySet.querydjango/db/models/query.py:3062 ms3.5%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:15702 ms3.5%
Query.add_qdjango/db/models/sql/query.py:16712 ms3.5%
Query._add_qdjango/db/models/sql/query.py:17032 ms3.5%
Query.build_filterdjango/db/models/sql/query.py:15772 ms3.5%
Query.setup_joinsdjango/db/models/sql/query.py:19272 ms3.5%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3712 ms3.5%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms3.5%
TestCase._fixture_teardowndjango/test/testcases.py:14942 ms3.5%
TestCase._should_check_constraintsdjango/test/testcases.py:15032 ms3.5%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4922 ms3.5%
Cursor.executepsycopg/cursor.py:1132 ms3.5%
Connection.waitpsycopg/connection.py:4952 ms3.5%
Estimated from 28 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Hot lines in your code

ft/tests.py:106
response = self.client.get(project.url("project_troubleshooting"))
TestTrubleshootingPage.test_troubleshooting_with_project · Libraries
28 ms
ft/tests.py:102
self.client.force_login(user)
TestTrubleshootingPage.test_troubleshooting_with_project · Database
13 ms
apps/projects/testing.py:76
membership, _ = Membership.objects.get_or_create(
add_member · Database
4 ms
ft/tests.py:101
user = User.objects.create_user("testuser")
TestTrubleshootingPage.test_troubleshooting_with_project · Password hashing
2 ms
apps/projects/testing.py:61
organization = Organization.objects.create(
make_project · Database
2 ms
apps/orgs/models.py:46
while slug in reserved or taken.filter(slug=slug).exists():
unique_slug · Database
2 ms
apps/projects/urls.py:61
project = get_object_or_404(
managed_project · Database
2 ms
apps/projects/urls.py:623
token = project.secrettokens_set.first()
project_troubleshooting · Database
2 ms
ft/tests.py:109
self.assertContains(response, project.secrettokens_set.first().token)
TestTrubleshootingPage.test_troubleshooting_with_project · Database
2 ms

Fixtures

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

Database

36 queries · 13 ms
No repeated queries.

Biggest pieces of work

call test body
ft/tests.py:106
58 ms
call _post_teardown
django/test/testcases.py:1240
2 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
an hour ago CI github-actions:test passed 62 ms 9caa567 main Profile
an hour ago CI github-actions:test passed 58 ms ec75501 main Profile
8 hours ago CI github-actions:test passed 65 ms d2c12e5 main Profile
8 hours ago CI github-actions:test passed 29 ms 0b902f6 main Profile
8 hours ago CI github-actions:test passed 53 ms 78a4357 main Profile
2 years ago CI github-actions passed 127 ms 61209a6 main Run
2 years, 2 months ago CI github-actions passed 121 ms 55ca4c2 main Run
2 years, 3 months ago CI github-actions passed 131 ms d007c85 main Run
2 years, 4 months ago CI github-actions passed 127 ms 3d86013 main Run
2 years, 4 months ago CI github-actions passed 127 ms bed0acb main Run
2 years, 4 months ago CI github-actions passed 135 ms 78c1737 main Run
2 years, 4 months ago CI github-actions passed 120 ms 1a5664b main Run
2 years, 5 months ago CI github-actions passed 123 ms c3680ac main Run
2 years, 5 months ago CI github-actions passed 117 ms 06a1df4 main Run
2 years, 5 months ago CI github-actions passed 121 ms a29c34e main Run
2 years, 5 months ago CI github-actions passed 119 ms e55e63f main Run
2 years, 5 months ago CI github-actions passed 124 ms ba5cb67 main Run
2 years, 6 months ago CI github-actions passed 122 ms 7c123d8 main Run
2 years, 6 months ago CI github-actions passed 121 ms 5ae45e1 main Run
2 years, 6 months ago CI github-actions passed 116 ms 1680367 main Run