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

TestOwnerManagement::test_non_owner_cannot_cancel_invitation

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
148 ms
median 141 ms
max 280 ms
Phases
Setup 10 ms Call 137 ms Teardown 0.33 ms
Categories
Database 43 ms Factories 0.83 ms Other (Libraries, pytest, Unsampled, Deep copies, ...) 104 ms

27 database queries per run

Needs 95 KB of memory (max 408 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.5%
call138 ms98.2%
TestOwnerManagement.test_non_owner_cannot_cancel_invitationstarter_packs/tests.py:558 response = self.client.post(reverse("cancel_invitation", args=[self.pack.slug, self.friend.id]))97 ms68.8%
Client.postdjango/test/client.py:116297 ms68.8%
RequestFactory.postdjango/test/client.py:49997 ms68.8%
RequestFactory.genericdjango/test/client.py:67197 ms68.8%
Client.requestdjango/test/client.py:109197 ms68.8%
ClientHandler.__call__django/test/client.py:17397 ms68.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6397 ms68.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10493 ms66.3%
WhiteNoise.add_fileswhitenoise/base.py:10893 ms66.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12069 ms49.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13169 ms49.1%
WhiteNoise.get_static_filewhitenoise/base.py:21747 ms33.2%
StaticFile.__init__whitenoise/responders.py:7319 ms13.5%
StaticFile.get_headerswhitenoise/responders.py:1769 ms6.1%
formatdate<stdlib>/email/utils.py:2593 ms2.5%
Headers.__setitem__<stdlib>/wsgiref/headers.py:623 ms2.5%
Headers.__delitem__<stdlib>/wsgiref/headers.py:723 ms2.5%
StaticFile.get_headerswhitenoise/responders.py:1807 ms4.9%
StaticFile.get_headerswhitenoise/responders.py:1703 ms2.5%
Headers.__setitem__<stdlib>/wsgiref/headers.py:623 ms2.5%
Headers.__delitem__<stdlib>/wsgiref/headers.py:713 ms2.5%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:503 ms2.5%
StaticFile.__init__whitenoise/responders.py:7214 ms9.8%
StaticFile.get_file_statswhitenoise/responders.py:1619 ms6.1%
__init____init__:-17 ms4.9%
FileEntry.__init__whitenoise/responders.py:2637 ms4.9%
FileEntry.stat_regular_filewhitenoise/responders.py:2767 ms4.9%
StaticFile.get_file_statswhitenoise/responders.py:1635 ms3.7%
StaticFile.__init__whitenoise/responders.py:779 ms6.1%
StaticFile.get_alternativeswhitenoise/responders.py:1985 ms3.7%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms2.5%
Headers.__setitem__<stdlib>/wsgiref/headers.py:643 ms2.5%
StaticFile.__init__whitenoise/responders.py:765 ms3.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms2.5%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms1.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms1.2%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms1.2%
WhiteNoise.get_static_filewhitenoise/base.py:21222 ms16.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:23314 ms9.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17614 ms9.8%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19714 ms9.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2014 ms9.8%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:23510 ms7.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2075 ms3.7%
urldefrag<stdlib>/urllib/parse.py:7775 ms3.7%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2163 ms2.5%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2073 ms2.5%
urljoin<stdlib>/urllib/parse.py:7403 ms2.5%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2142 ms1.2%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:5952 ms1.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2345 ms3.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:2363 ms2.5%
Headers.__setitem__<stdlib>/wsgiref/headers.py:643 ms2.5%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:503 ms2.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11524 ms17.2%
scantreewhitenoise/base.py:27116 ms11.1%
scantreewhitenoise/base.py:27112 ms8.6%
scantreewhitenoise/base.py:2717 ms4.9%
scantreewhitenoise/base.py:2717 ms4.9%
scantreewhitenoise/base.py:2717 ms4.9%
scantreewhitenoise/base.py:2697 ms4.9%
scantreewhitenoise/base.py:2733 ms2.5%
scantreewhitenoise/base.py:2692 ms1.2%
scantreewhitenoise/base.py:2693 ms2.5%
scantreewhitenoise/base.py:2733 ms2.5%
SessionMiddleware.__init__django/contrib/sessions/middleware.py:-13 ms2.5%
TestOwnerManagement.test_non_owner_cannot_cancel_invitationstarter_packs/tests.py:557 self.client.force_login(self.friend) # not an owner35 ms24.6%
ClientMixin.force_logindjango/test/client.py:85835 ms24.6%
ClientMixin._logindjango/test/client.py:88922 ms16.0%
logindjango/contrib/auth/__init__.py:18917 ms12.3%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4409 ms6.1%
SessionStore.deletedjango/contrib/sessions/backends/db.py:1759 ms6.1%
Model.deletedjango/db/models/base.py:13319 ms6.1%
Collector.deletedjango/db/models/deletion.py:4839 ms6.1%
DeleteQuery.delete_batchdjango/db/models/sql/subqueries.py:439 ms6.1%
DeleteQuery.do_querydjango/db/models/sql/subqueries.py:259 ms6.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16259 ms6.1%
CursorWrapper.executedjango/db/backends/utils.py:799 ms6.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:929 ms6.1%
CursorWrapper._executedjango/db/backends/utils.py:1059 ms6.1%
Cursor.executepsycopg/cursor.py:1139 ms6.1%
Connection.waitpsycopg/connection.py:4959 ms6.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2069 ms6.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2869 ms6.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:789 ms6.1%
SessionBase.cycle_keydjango/contrib/sessions/backends/base.py:4379 ms6.1%
SessionStore.createdjango/contrib/sessions/backends/db.py:745 ms3.7%
SessionStore.savedjango/contrib/sessions/backends/db.py:1263 ms2.5%
Atomic.__enter__django/db/transaction.py:2232 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.2%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms1.2%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.2%
Atomic.__exit__django/db/transaction.py:2592 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms1.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3122 ms1.2%
SessionStore.savedjango/contrib/sessions/backends/db.py:1272 ms1.2%
Model.savedjango/db/models/base.py:9042 ms1.2%
Model.save_basedjango/db/models/base.py:9962 ms1.2%
Model._save_tabledjango/db/models/base.py:11992 ms1.2%
Model._do_insertdjango/db/models/base.py:12512 ms1.2%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.2%
QuerySet._insertdjango/db/models/query.py:21412 ms1.2%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.2%
SessionStore.createdjango/contrib/sessions/backends/db.py:703 ms2.5%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2013 ms2.5%
SessionStore.existsdjango/contrib/sessions/backends/db.py:633 ms2.5%
QuerySet.existsdjango/db/models/query.py:14583 ms2.5%
Query.has_resultsdjango/db/models/sql/query.py:6873 ms2.5%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15933 ms2.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms2.5%
CursorWrapper.executedjango/db/backends/utils.py:793 ms2.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms2.5%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms2.5%
Cursor.executepsycopg/cursor.py:1133 ms2.5%
Connection.waitpsycopg/connection.py:4953 ms2.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms2.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms2.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms2.5%
logindjango/contrib/auth/__init__.py:1773 ms2.5%
SessionBase.__contains__django/contrib/sessions/backends/base.py:523 ms2.5%
SessionBase._get_sessiondjango/contrib/sessions/backends/base.py:2543 ms2.5%
SessionStore.loaddjango/contrib/sessions/backends/db.py:553 ms2.5%
SessionStore._get_session_from_dbdjango/contrib/sessions/backends/db.py:343 ms2.5%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:873 ms2.5%
QuerySet.getdjango/db/models/query.py:6922 ms1.2%
QuerySet.filterdjango/db/models/query.py:16762 ms1.2%
QuerySet._filter_or_excludedjango/db/models/query.py:16942 ms1.2%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:17042 ms1.2%
Query.add_qdjango/db/models/sql/query.py:16812 ms1.2%
Query._add_qdjango/db/models/sql/query.py:17132 ms1.2%
Query.build_filterdjango/db/models/sql/query.py:15602 ms1.2%
Query.resolve_lookup_valuedjango/db/models/sql/query.py:13312 ms1.2%
QuerySet.getdjango/db/models/query.py:7022 ms1.2%
QuerySet.__len__django/db/models/query.py:4212 ms1.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms1.2%
ModelIterable.__iter__django/db/models/query.py:1032 ms1.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2842 ms1.2%
logindjango/contrib/auth/__init__.py:1982 ms1.2%
Signal.senddjango/dispatch/dispatcher.py:2492 ms1.2%
update_last_logindjango/contrib/auth/models.py:242 ms1.2%
AbstractBaseUser.savedjango/contrib/auth/base_user.py:622 ms1.2%
Model.savedjango/db/models/base.py:9042 ms1.2%
Model.save_basedjango/db/models/base.py:9962 ms1.2%
Model._save_tabledjango/db/models/base.py:11402 ms1.2%
Model._do_updatedjango/db/models/base.py:12442 ms1.2%
QuerySet._updatedjango/db/models/query.py:14482 ms1.2%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21502 ms1.2%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21212 ms1.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.2%
ClientMixin._logindjango/test/client.py:8849 ms6.1%
ClientMixin.sessiondjango/test/client.py:8159 ms6.1%
SessionStore.savedjango/contrib/sessions/backends/db.py:1219 ms6.1%
SessionStore.createdjango/contrib/sessions/backends/db.py:745 ms3.7%
SessionStore.savedjango/contrib/sessions/backends/db.py:1232 ms1.2%
SessionStore.create_model_instancedjango/contrib/sessions/backends/db.py:1022 ms1.2%
SessionBase.encodedjango/contrib/sessions/backends/base.py:1292 ms1.2%
dumpsdjango/core/signing.py:1912 ms1.2%
Signer.sign_objectdjango/core/signing.py:2792 ms1.2%
TimestampSigner.signdjango/core/signing.py:3012 ms1.2%
Signer.signdjango/core/signing.py:2452 ms1.2%
Signer.signaturedjango/core/signing.py:2422 ms1.2%
base64_hmacdjango/core/signing.py:1142 ms1.2%
salted_hmacdjango/utils/crypto.py:612 ms1.2%
new<stdlib>/hmac.py:2372 ms1.2%
__init____init__:-12 ms1.2%
HMAC.__init__<stdlib>/hmac.py:1082 ms1.2%
HMAC.__init<stdlib>/hmac.py:1132 ms1.2%
HMAC._init_openssl_hmac<stdlib>/hmac.py:1262 ms1.2%
SessionStore.savedjango/contrib/sessions/backends/db.py:1272 ms1.2%
Model.savedjango/db/models/base.py:9042 ms1.2%
Model.save_basedjango/db/models/base.py:9962 ms1.2%
Model._save_tabledjango/db/models/base.py:11992 ms1.2%
Model._do_insertdjango/db/models/base.py:12512 ms1.2%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.2%
QuerySet._insertdjango/db/models/query.py:21412 ms1.2%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.2%
SessionStore.savedjango/contrib/sessions/backends/db.py:1262 ms1.2%
Atomic.__exit__django/db/transaction.py:2592 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms1.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.2%
SessionStore.createdjango/contrib/sessions/backends/db.py:703 ms2.5%
SessionBase._get_new_session_keydjango/contrib/sessions/backends/base.py:2013 ms2.5%
SessionStore.existsdjango/contrib/sessions/backends/db.py:633 ms2.5%
QuerySet.existsdjango/db/models/query.py:14583 ms2.5%
Query.has_resultsdjango/db/models/sql/query.py:6873 ms2.5%
SQLCompiler.has_resultsdjango/db/models/sql/compiler.py:15933 ms2.5%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms2.5%
CursorWrapper.executedjango/db/backends/utils.py:793 ms2.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms2.5%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms2.5%
Cursor.executepsycopg/cursor.py:1133 ms2.5%
Connection.waitpsycopg/connection.py:4953 ms2.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms2.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms2.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms2.5%
ClientMixin._logindjango/test/client.py:8913 ms2.5%
SessionStore.savedjango/contrib/sessions/backends/db.py:1272 ms1.2%
Model.savedjango/db/models/base.py:9042 ms1.2%
Model.save_basedjango/db/models/base.py:9962 ms1.2%
Model._save_tabledjango/db/models/base.py:11402 ms1.2%
Model._do_updatedjango/db/models/base.py:12442 ms1.2%
QuerySet._updatedjango/db/models/query.py:14482 ms1.2%
SQLUpdateCompiler.execute_returning_sqldjango/db/models/sql/compiler.py:21502 ms1.2%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21212 ms1.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.2%
SessionStore.savedjango/contrib/sessions/backends/db.py:1262 ms1.2%
Atomic.__exit__django/db/transaction.py:2592 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms1.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms1.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms1.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms1.2%
TestOwnerManagement.test_non_owner_cannot_cancel_invitationstarter_packs/tests.py:556 StarterPackInvitation.objects.create(starter_pack=self.pack, invited_user=self.friend, invited_by=self.owner)5 ms3.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:873 ms2.5%
QuerySet.createdjango/db/models/query.py:7363 ms2.5%
Model.savedjango/db/models/base.py:9043 ms2.5%
Model.save_basedjango/db/models/base.py:9963 ms2.5%
Model._save_tabledjango/db/models/base.py:11882 ms1.2%
Field.pre_savedjango/db/models/fields/__init__.py:10292 ms1.2%
Model._save_tabledjango/db/models/base.py:11992 ms1.2%
Model._do_insertdjango/db/models/base.py:12512 ms1.2%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms1.2%
QuerySet._insertdjango/db/models/query.py:21412 ms1.2%
SQLInsertCompiler.execute_sqldjango/db/models/sql/compiler.py:19362 ms1.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms1.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms1.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms1.2%
Cursor.executepsycopg/cursor.py:1132 ms1.2%
Connection.waitpsycopg/connection.py:4952 ms1.2%
TestData.__get__django/test/testcases.py:13702 ms1.2%
deepcopy<stdlib>/copy.py:1562 ms1.2%
_reconstruct<stdlib>/copy.py:2542 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1562 ms1.2%
_reconstruct<stdlib>/copy.py:2542 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1562 ms1.2%
_reconstruct<stdlib>/copy.py:2542 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1562 ms1.2%
_reconstruct<stdlib>/copy.py:2542 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1562 ms1.2%
_reconstruct<stdlib>/copy.py:2542 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1562 ms1.2%
_reconstruct<stdlib>/copy.py:2542 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1302 ms1.2%
_deepcopy_dict<stdlib>/copy.py:2012 ms1.2%
deepcopy<stdlib>/copy.py:1452 ms1.2%
Model.__reduce__django/db/models/base.py:6542 ms1.2%
Model.__getstate__django/db/models/base.py:6682 ms1.2%
Estimated from 85 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/tests.py:558
response = self.client.post(reverse("cancel_invitation", args=[self.pack.slug, self.friend.id]))
TestOwnerManagement.test_non_owner_cannot_cancel_invitation · Libraries
97 ms
starter_packs/tests.py:557
self.client.force_login(self.friend) # not an owner
TestOwnerManagement.test_non_owner_cannot_cancel_invitation · Database
35 ms
starter_packs/tests.py:556
StarterPackInvitation.objects.create(starter_pack=self.pack, invited_user=self.friend, invited_by=self.owner)
TestOwnerManagement.test_non_owner_cannot_cancel_invitation · Database
5 ms

Fixtures

Exact setup time
_django_set_urlconf function 0.76 ms
monkeypatch function 0.09 ms
_template_string_if_invalid_marker function 0.09 ms
_live_server_helper function 0.06 ms
_dj_autoclear_mailbox function 0.06 ms
_django_db_marker function 0.05 ms
_django_isolate_apps function 0.05 ms
_django_clear_site_cache function 0.04 ms

Database

25 queries · 20 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:557
137 ms
setup pytest internals 2 ms
call pytest internals 2 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 141 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 60 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 174 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 141 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 85 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 172 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 82 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 80 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 280 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 182 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 226 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 86 ms 0c23747 main Run