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

TestShareStarterPack::test_not_existing_starter_pack

First seen 2 years ago in 1b5db0c
CI github-actions:test 13 runs
Average
115 ms
median 111 ms
max 226 ms
Phases
Setup 1 ms Call 113 ms Teardown 0.28 ms
Categories
Database 18 ms Other (Libraries, pytest, Unsampled, Templates, ...) 97 ms

6 database queries per run

Needs 189 KB of memory (max 820 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
setup0.67 ms1.4%
call48 ms98.2%
TestShareStarterPack.test_not_existing_starter_packstarter_packs/tests.py:676 response = self.client.get(reverse("share_starter_pack", args=["not-existing"]))43 ms87.3%
Client.getdjango/test/client.py:113343 ms87.3%
RequestFactory.getdjango/test/client.py:47543 ms87.3%
RequestFactory.genericdjango/test/client.py:67143 ms87.3%
Client.requestdjango/test/client.py:109143 ms87.3%
ClientHandler.__call__django/test/client.py:17343 ms87.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6343 ms87.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10443 ms87.3%
WhiteNoise.add_fileswhitenoise/base.py:10843 ms87.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12027 ms54.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13127 ms54.5%
WhiteNoise.get_static_filewhitenoise/base.py:21727 ms54.5%
StaticFile.__init__whitenoise/responders.py:7211 ms21.8%
StaticFile.get_file_statswhitenoise/responders.py:1635 ms10.9%
StaticFile.__init__whitenoise/responders.py:765 ms10.9%
StaticFile.__init__whitenoise/responders.py:745 ms10.9%
parsedate<stdlib>/email/_parseaddr.py:1855 ms10.9%
StaticFile.__init__whitenoise/responders.py:775 ms10.9%
StaticFile.get_alternativeswhitenoise/responders.py:1985 ms10.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11516 ms32.7%
scantreewhitenoise/base.py:27111 ms21.8%
scantreewhitenoise/base.py:2735 ms10.9%
scantreewhitenoise/base.py:2715 ms10.9%
scantreewhitenoise/base.py:2715 ms10.9%
scantreewhitenoise/base.py:2715 ms10.9%
scantreewhitenoise/base.py:2715 ms10.9%
scantreewhitenoise/base.py:2735 ms10.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()5 ms10.9%
TestCase._fixture_setupdjango/test/testcases.py:14815 ms10.9%
TestCase._enter_atomicsdjango/test/testcases.py:13995 ms10.9%
Atomic.__enter__django/db/transaction.py:2235 ms10.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms10.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4005 ms10.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3675 ms10.9%
CursorWrapper.executedjango/db/backends/utils.py:795 ms10.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms10.9%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms10.9%
Cursor.executepsycopg/cursor.py:1135 ms10.9%
Connection.waitpsycopg/connection.py:4955 ms10.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2065 ms10.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2865 ms10.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:785 ms10.9%
Estimated from 10 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/tests.py:676
response = self.client.get(reverse("share_starter_pack", args=["not-existing"]))
TestShareStarterPack.test_not_existing_starter_pack · Libraries
43 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
_live_server_helper function 0.03 ms
_django_set_urlconf function 0.02 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Database

6 queries · 2 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:676
43 ms
call _pre_setup
django/test/testcases.py:1167
5 ms
setup pytest internals 0.67 ms

Reliability

14 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 14 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 49 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 145 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 128 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 39 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 116 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 111 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 67 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 79 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 98 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 43 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 226 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 174 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 215 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 69 ms 0c23747 main Run