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

TestDeleteStarterPack::test_not_logged_in

First seen 1 year, 10 months ago in 1b5db0c
CI github-actions:test 4 runs
Average
145 ms
median 134 ms
max 242 ms
Phases
Setup 2 ms Call 143 ms Teardown 0.33 ms
Categories
Database 9 ms Other (Libraries, Templates, pytest, Unsampled) 136 ms

7 database queries per run

Needs 3 KB of memory (max 12 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Show pytest frames
setup0.84 ms1.2%
call68 ms98.3%
TestDeleteStarterPack.test_not_logged_instarter_packs/tests.py:328 response = self.client.get(reverse("delete_starter_pack", args=[self.starter_pack.slug]))55 ms79.3%
Client.getdjango/test/client.py:113355 ms79.3%
RequestFactory.getdjango/test/client.py:47555 ms79.3%
RequestFactory.genericdjango/test/client.py:67155 ms79.3%
Client.requestdjango/test/client.py:109155 ms79.3%
ClientHandler.__call__django/test/client.py:17353 ms76.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6353 ms76.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10450 ms72.9%
WhiteNoise.add_fileswhitenoise/base.py:10846 ms66.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12037 ms53.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13135 ms50.7%
WhiteNoise.get_static_filewhitenoise/base.py:21728 ms41.2%
StaticFile.__init__whitenoise/responders.py:7315 ms22.2%
StaticFile.get_headerswhitenoise/responders.py:1677 ms9.5%
__init____init__:-12 ms3.2%
Headers.__init__<stdlib>/wsgiref/headers.py:442 ms3.2%
StaticFile.get_headerswhitenoise/responders.py:1714 ms6.3%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms3.2%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms3.2%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms3.2%
StaticFile.get_headerswhitenoise/responders.py:1764 ms6.3%
formatdate<stdlib>/email/utils.py:2664 ms6.3%
Headers.__init__<stdlib>/wsgiref/headers.py:442 ms3.2%
StaticFile.__init__whitenoise/responders.py:729 ms12.7%
StaticFile.get_file_statswhitenoise/responders.py:1614 ms6.3%
__init____init__:-12 ms3.2%
FileEntry.__init__whitenoise/responders.py:2632 ms3.2%
FileEntry.stat_regular_filewhitenoise/responders.py:2762 ms3.2%
<GC>~2 ms3.2%
StaticFile.__init__whitenoise/responders.py:752 ms3.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms3.2%
StaticFile.__init__whitenoise/responders.py:762 ms3.2%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms3.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms3.2%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms3.2%
WhiteNoise.get_static_filewhitenoise/base.py:2124 ms6.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2334 ms6.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1764 ms6.3%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1974 ms6.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms6.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms12.7%
scantreewhitenoise/base.py:2717 ms9.5%
scantreewhitenoise/base.py:2737 ms9.5%
scantreewhitenoise/base.py:2732 ms3.2%
WhiteNoise.add_fileswhitenoise/base.py:1074 ms6.3%
isdir<frozen genericpath>:552 ms3.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms3.2%
scantreewhitenoise/base.py:2732 ms3.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1112 ms3.2%
WhiteNoise.add_fileswhitenoise/base.py:1082 ms3.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms3.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms3.2%
WhiteNoise.get_static_filewhitenoise/base.py:2172 ms3.2%
StaticFile.__init__whitenoise/responders.py:732 ms3.2%
StaticFile.get_headerswhitenoise/responders.py:1762 ms3.2%
formatdate<stdlib>/email/utils.py:2662 ms3.2%
format_datetime<stdlib>/email/utils.py:2752 ms3.2%
ClientHandler.__call__django/test/client.py:1862 ms3.2%
BaseHandler.get_responsedjango/core/handlers/base.py:1422 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1452 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3802 ms3.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:562 ms3.2%
BaseHandler._get_responsedjango/core/handlers/base.py:1992 ms3.2%
user_passes_test.<locals>.decorator.<locals>._view_wrapperdjango/contrib/auth/decorators.py:632 ms3.2%
user_passes_test.<locals>.decorator.<locals>._redirect_to_logindjango/contrib/auth/decorators.py:242 ms3.2%
HttpRequest.build_absolute_uridjango/http/request.py:2792 ms3.2%
TestDeleteStarterPack.test_not_logged_instarter_packs/tests.py:3299 ms12.7%
SimpleTestCase.assertRedirectsdjango/test/testcases.py:5029 ms12.7%
Client.getdjango/test/client.py:11339 ms12.7%
RequestFactory.getdjango/test/client.py:4759 ms12.7%
RequestFactory.genericdjango/test/client.py:6719 ms12.7%
Client.requestdjango/test/client.py:10919 ms12.7%
ClientHandler.__call__django/test/client.py:1869 ms12.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1429 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1239 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1459 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms12.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms12.7%
BaseHandler._get_responsedjango/core/handlers/base.py:1999 ms12.7%
loginaccounts/views.py:280 return render(request, "login.html")9 ms12.7%
renderdjango/shortcuts.py:279 ms12.7%
render_to_stringdjango/template/loader.py:629 ms12.7%
Template.renderdjango/template/backends/django.py:1079 ms12.7%
Template.renderdjango/template/base.py:1759 ms12.7%
instrumented_test_renderdjango/test/utils.py:1139 ms12.7%
NodeList.renderdjango/template/base.py:11089 ms12.7%
Node.render_annotateddjango/template/base.py:10699 ms12.7%
ExtendsNode.renderdjango/template/loader_tags.py:1609 ms12.7%
instrumented_test_renderdjango/test/utils.py:1139 ms12.7%
NodeList.renderdjango/template/base.py:11089 ms12.7%
Node.render_annotateddjango/template/base.py:10699 ms12.7%
IfNode.renderdjango/template/defaulttags.py:3334 ms6.3%
NodeList.renderdjango/template/base.py:11084 ms6.3%
Node.render_annotateddjango/template/base.py:10694 ms6.3%
IncludeNode.renderdjango/template/loader_tags.py:2114 ms6.3%
Template.renderdjango/template/base.py:1774 ms6.3%
instrumented_test_renderdjango/test/utils.py:1134 ms6.3%
NodeList.renderdjango/template/base.py:11084 ms6.3%
Node.render_annotateddjango/template/base.py:10694 ms6.3%
SimpleNode.renderdjango/template/library.py:3432 ms3.2%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms3.2%
QuerySet.__iter__django/db/models/query.py:4392 ms3.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.2%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms3.2%
Query.get_compilerdjango/db/models/sql/query.py:3742 ms3.2%
BlockTranslateNode.renderdjango/templatetags/i18n.py:1552 ms3.2%
StaticNode.renderdjango/templatetags/static.py:1162 ms3.2%
StaticNode.urldjango/templatetags/static.py:1132 ms3.2%
StaticNode.handle_simpledjango/templatetags/static.py:1292 ms3.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms3.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms3.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms3.2%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2072 ms3.2%
urljoin<stdlib>/urllib/parse.py:7072 ms3.2%
BlockNode.renderdjango/template/loader_tags.py:662 ms3.2%
NodeList.renderdjango/template/base.py:11082 ms3.2%
Node.render_annotateddjango/template/base.py:10692 ms3.2%
WithNode.renderdjango/template/defaulttags.py:5812 ms3.2%
NodeList.renderdjango/template/base.py:11082 ms3.2%
Node.render_annotateddjango/template/base.py:10692 ms3.2%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms3.2%
Template.renderdjango/template/base.py:1772 ms3.2%
instrumented_test_renderdjango/test/utils.py:1132 ms3.2%
NodeList.renderdjango/template/base.py:11082 ms3.2%
Node.render_annotateddjango/template/base.py:10692 ms3.2%
SimpleNode.renderdjango/template/library.py:3432 ms3.2%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms3.2%
QuerySet.__iter__django/db/models/query.py:4392 ms3.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms3.2%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms3.2%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms3.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms3.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.2%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.2%
Cursor.executepsycopg/cursor.py:1132 ms3.2%
Connection.waitpsycopg/connection.py:4952 ms3.2%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms3.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms3.2%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms3.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms3.2%
TestCase._fixture_teardowndjango/test/testcases.py:15002 ms3.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14082 ms3.2%
Atomic.__exit__django/db/transaction.py:2982 ms3.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms3.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms3.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms3.2%
Cursor.executepsycopg/cursor.py:1132 ms3.2%
Connection.waitpsycopg/connection.py:4952 ms3.2%
Estimated from 32 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/tests.py:328
response = self.client.get(reverse("delete_starter_pack", args=[self.starter_pack.slug]))
TestDeleteStarterPack.test_not_logged_in · Libraries
55 ms
accounts/views.py:280
return render(request, "login.html")
login · Templates
4 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
4 ms

Fixtures

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

Database

7 queries · 3 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:328
63 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
call pytest internals 2 ms
setup pytest internals 0.84 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 69 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 177 ms 82997f8 main Profile
8 hours ago CI github-actions:test passed 92 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 242 ms ab6465a main Profile
13 hours ago CI github-actions:test passed 204 ms 0c23747 main Run
3 months, 3 weeks ago CI github-actions passed 60 ms 69d78ea HEAD Run
3 months, 3 weeks ago CI github-actions passed 86 ms 8fac7b5 main Run
3 months, 3 weeks ago CI github-actions passed 84 ms 36b9579 main Run
3 months, 3 weeks ago CI github-actions passed 98 ms 553d048 main Run
3 months, 3 weeks ago CI github-actions passed 84 ms 8eb0f44 HEAD Run
3 months, 3 weeks ago CI github-actions passed 96 ms e0fb3ac HEAD Run
3 months, 3 weeks ago CI github-actions passed 83 ms a849b58 HEAD Run
3 months, 3 weeks ago CI github-actions passed 91 ms 6418e05 HEAD Run
3 months, 3 weeks ago CI github-actions passed 102 ms 5b9b309 main Run
3 months, 4 weeks ago CI github-actions passed 100 ms 1f2c5a6 main Run
3 months, 4 weeks ago CI github-actions passed 94 ms 5ec7fa8 main Run
3 months, 4 weeks ago CI github-actions passed 96 ms 1e42064 main Run
3 months, 4 weeks ago CI github-actions passed 91 ms fcb1b79 main Run
3 months, 4 weeks ago CI github-actions passed 104 ms 1460ac2 HEAD Run
3 months, 4 weeks ago CI github-actions passed 97 ms 8129f09 HEAD Run