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

TestEditStarterPack::test_not_logged_in

First seen 1 year, 11 months ago in 1b5db0c
CI github-actions:test 11 runs
Average
117 ms
median 83 ms
max 311 ms
Phases
Setup 2 ms Call 115 ms Teardown 0.31 ms
Categories
Database 11 ms Other (Libraries, Templates, pytest, Unsampled) 106 ms

7 database queries per run

Needs 418 KB of memory (max 1 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call81 ms98.1%
TestEditStarterPack.test_not_logged_instarter_packs/tests.py:192 response = self.client.get(reverse("edit_starter_pack", args=[self.starter_pack.slug]))81 ms98.1%
Client.getdjango/test/client.py:113381 ms98.1%
RequestFactory.getdjango/test/client.py:47581 ms98.1%
RequestFactory.genericdjango/test/client.py:67181 ms98.1%
Client.requestdjango/test/client.py:109181 ms98.1%
ClientHandler.__call__django/test/client.py:17381 ms98.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6381 ms98.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10481 ms98.1%
WhiteNoise.add_fileswhitenoise/base.py:10881 ms98.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12081 ms98.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13181 ms98.1%
WhiteNoise.get_static_filewhitenoise/base.py:21249 ms58.9%
WhiteNoise.add_cache_headerswhitenoise/base.py:23349 ms58.9%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17649 ms58.9%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19749 ms58.9%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2049 ms58.9%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:23532 ms39.3%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:21616 ms19.6%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:20816 ms19.6%
WhiteNoise.get_static_filewhitenoise/base.py:21716 ms19.6%
StaticFile.__init__whitenoise/responders.py:7416 ms19.6%
parsedate<stdlib>/email/_parseaddr.py:18516 ms19.6%
WhiteNoise.get_static_filewhitenoise/base.py:21116 ms19.6%
Estimated from 5 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/tests.py:192
response = self.client.get(reverse("edit_starter_pack", args=[self.starter_pack.slug]))
TestEditStarterPack.test_not_logged_in · Libraries
81 ms

Fixtures

Exact setup time
_template_string_if_invalid_marker 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
_live_server_helper function 0.05 ms
_django_set_urlconf function 0.05 ms
_django_clear_site_cache function 0.04 ms
monkeypatch function 0.03 ms

Database

7 queries · 4 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:192
81 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 83 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 64 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 108 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 311 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 66 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 78 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 66 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 68 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 150 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 109 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 179 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 73 ms 0c23747 main Run