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

TestEditStarterPackAccounts::test_not_logged_in

First seen 1 year, 10 months ago in 1b5db0c
CI github-actions:test 4 runs
Average
176 ms
median 196 ms
max 261 ms
Phases
Setup 1 ms Call 173 ms Teardown 2 ms
Categories
Database 12 ms Other (Libraries, Templates, Unsampled, pytest) 163 ms

7 database queries per run

Needs 124 KB of memory (max 496 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 9 hours ago · open run
Hide pytest frames
call50 ms98.2%
CallInfo.from_call_pytest/runner.py:36150 ms98.2%
call_and_report.<locals>.<lambda>_pytest/runner.py:25050 ms98.2%
HookCaller.__call__pluggy/_hooks.py:51250 ms98.2%
PluginManager._hookexecpluggy/_manager.py:12050 ms98.2%
_multicallpluggy/_callers.py:12150 ms98.2%
pytest_runtest_call_pytest/runner.py:18450 ms98.2%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61450 ms98.2%
SimpleTestCase.__call__django/test/testcases.py:31450 ms98.2%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36946 ms90.0%
TestCase.__call__<stdlib>/unittest/case.py:74746 ms90.0%
TestCase.run<stdlib>/unittest/case.py:69146 ms90.0%
TestCase._callTestMethod<stdlib>/unittest/case.py:63746 ms90.0%
TestEditStarterPackAccounts.test_not_logged_instarter_packs/tests.py:255 response = self.client.get(reverse("edit_accounts_starter_pack", args=[self.starter_pack.slug]))38 ms73.6%
Client.getdjango/test/client.py:113338 ms73.6%
RequestFactory.getdjango/test/client.py:47538 ms73.6%
RequestFactory.genericdjango/test/client.py:67138 ms73.6%
Client.requestdjango/test/client.py:109138 ms73.6%
ClientHandler.__call__django/test/client.py:17338 ms73.6%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6338 ms73.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10438 ms73.6%
WhiteNoise.add_fileswhitenoise/base.py:10838 ms73.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12025 ms49.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13125 ms49.1%
WhiteNoise.get_static_filewhitenoise/base.py:21723 ms45.0%
StaticFile.__init__whitenoise/responders.py:7210 ms20.4%
StaticFile.get_file_statswhitenoise/responders.py:1638 ms16.4%
<GC>~8 ms16.4%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms4.1%
__init____init__:-12 ms4.1%
FileEntry.__init__whitenoise/responders.py:2632 ms4.1%
FileEntry.stat_regular_filewhitenoise/responders.py:2762 ms4.1%
<GC>~2 ms4.1%
StaticFile.__init__whitenoise/responders.py:768 ms16.4%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1884 ms8.2%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms4.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1902 ms4.1%
StaticFile.__init__whitenoise/responders.py:732 ms4.1%
StaticFile.get_headerswhitenoise/responders.py:1672 ms4.1%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms4.1%
WhiteNoise.add_mime_headerswhitenoise/base.py:2302 ms4.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11510 ms20.4%
scantreewhitenoise/base.py:27110 ms20.4%
scantreewhitenoise/base.py:2718 ms16.4%
scantreewhitenoise/base.py:2734 ms8.2%
scantreewhitenoise/base.py:2714 ms8.2%
scantreewhitenoise/base.py:2714 ms8.2%
scantreewhitenoise/base.py:2714 ms8.2%
scantreewhitenoise/base.py:2734 ms8.2%
scantreewhitenoise/base.py:2732 ms4.1%
TestEditStarterPackAccounts.test_not_logged_instarter_packs/tests.py:2568 ms16.4%
SimpleTestCase.assertRedirectsdjango/test/testcases.py:5028 ms16.4%
Client.getdjango/test/client.py:11338 ms16.4%
RequestFactory.getdjango/test/client.py:4758 ms16.4%
RequestFactory.genericdjango/test/client.py:6718 ms16.4%
Client.requestdjango/test/client.py:10918 ms16.4%
ClientHandler.__call__django/test/client.py:1868 ms16.4%
BaseHandler.get_responsedjango/core/handlers/base.py:1428 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1238 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1458 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3808 ms16.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:568 ms16.4%
BaseHandler._get_responsedjango/core/handlers/base.py:1998 ms16.4%
loginaccounts/views.py:280 return render(request, "login.html")8 ms16.4%
renderdjango/shortcuts.py:278 ms16.4%
render_to_stringdjango/template/loader.py:628 ms16.4%
Template.renderdjango/template/backends/django.py:1078 ms16.4%
Template.renderdjango/template/base.py:1758 ms16.4%
instrumented_test_renderdjango/test/utils.py:1138 ms16.4%
NodeList.renderdjango/template/base.py:11088 ms16.4%
Node.render_annotateddjango/template/base.py:10698 ms16.4%
ExtendsNode.renderdjango/template/loader_tags.py:1608 ms16.4%
instrumented_test_renderdjango/test/utils.py:1138 ms16.4%
NodeList.renderdjango/template/base.py:11088 ms16.4%
Node.render_annotateddjango/template/base.py:10698 ms16.4%
BlockNode.renderdjango/template/loader_tags.py:664 ms8.2%
NodeList.renderdjango/template/base.py:11084 ms8.2%
Node.render_annotateddjango/template/base.py:10694 ms8.2%
WithNode.renderdjango/template/defaulttags.py:5814 ms8.2%
NodeList.renderdjango/template/base.py:11084 ms8.2%
Node.render_annotateddjango/template/base.py:10694 ms8.2%
IncludeNode.renderdjango/template/loader_tags.py:2114 ms8.2%
Template.renderdjango/template/base.py:1774 ms8.2%
instrumented_test_renderdjango/test/utils.py:1134 ms8.2%
NodeList.renderdjango/template/base.py:11084 ms8.2%
Node.render_annotateddjango/template/base.py:10694 ms8.2%
SimpleNode.renderdjango/template/library.py:3434 ms8.2%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:4 ms8.2%
QuerySet.__iter__django/db/models/query.py:4394 ms8.2%
QuerySet._fetch_alldjango/db/models/query.py:22624 ms8.2%
FlatValuesListIterable.__iter__django/db/models/query.py:3024 ms8.2%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15744 ms8.2%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16254 ms8.2%
CursorWrapper.executedjango/db/backends/utils.py:794 ms8.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms8.2%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms8.2%
CursorWrapper._executedjango/db/backends/utils.py:1054 ms8.2%
URLNode.renderdjango/template/defaulttags.py:5112 ms4.1%
reversedjango/urls/base.py:982 ms4.1%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:8042 ms4.1%
escape<stdlib>/re/__init__.py:3122 ms4.1%
IfNode.renderdjango/template/defaulttags.py:3332 ms4.1%
NodeList.renderdjango/template/base.py:11082 ms4.1%
Node.render_annotateddjango/template/base.py:10692 ms4.1%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms4.1%
Template.renderdjango/template/base.py:1772 ms4.1%
instrumented_test_renderdjango/test/utils.py:1132 ms4.1%
NodeList.renderdjango/template/base.py:11082 ms4.1%
Node.render_annotateddjango/template/base.py:10692 ms4.1%
SimpleNode.renderdjango/template/library.py:3432 ms4.1%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms4.1%
QuerySet.__iter__django/db/models/query.py:4392 ms4.1%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms4.1%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms4.1%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms4.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms4.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms4.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.1%
Cursor.executepsycopg/cursor.py:1132 ms4.1%
Connection.waitpsycopg/connection.py:4952 ms4.1%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3724 ms8.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms8.2%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms4.1%
TestCase._should_check_constraintsdjango/test/testcases.py:15062 ms4.1%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5042 ms4.1%
Cursor.executepsycopg/cursor.py:1132 ms4.1%
Connection.waitpsycopg/connection.py:4952 ms4.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms4.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms4.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms4.1%
TestCase._fixture_teardowndjango/test/testcases.py:14982 ms4.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 ms4.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1022 ms4.1%
QueryStats.addflakytest/profiling/dbtrack.py:382 ms4.1%
Estimated from 24 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Hot lines in your code

starter_packs/tests.py:255
response = self.client.get(reverse("edit_accounts_starter_pack", args=[self.starter_pack.slug]))
TestEditStarterPackAccounts.test_not_logged_in · Libraries
38 ms
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist · Database
6 ms
accounts/views.py:280
return render(request, "login.html")
login · Templates
2 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.05 ms
_template_string_if_invalid_marker function 0.03 ms
_django_db_marker function 0.03 ms
_django_isolate_apps function 0.03 ms
_django_set_urlconf function 0.03 ms
_live_server_helper 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:255
46 ms
call _post_teardown
django/test/testcases.py:1243
4 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
9 hours ago CI github-actions:test passed 51 ms d923a46 main Profile
9 hours ago CI github-actions:test passed 261 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 198 ms 623aa3e main Profile
14 hours ago CI github-actions:test passed 193 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 92 ms 0c23747 main Run
3 months, 3 weeks ago CI github-actions passed 61 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 99 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 97 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 100 ms 5b9b309 main Run
3 months, 4 weeks ago CI github-actions passed 97 ms 1f2c5a6 main Run
3 months, 4 weeks ago CI github-actions passed 93 ms 5ec7fa8 main Run
3 months, 4 weeks ago CI github-actions passed 94 ms 1e42064 main Run
3 months, 4 weeks ago CI github-actions passed 90 ms fcb1b79 main Run
3 months, 4 weeks ago CI github-actions passed 103 ms 1460ac2 HEAD Run
3 months, 4 weeks ago CI github-actions passed 98 ms 8129f09 HEAD Run