flakytest.dev anze3db flakytest
Tests / apps/guides/tests.py

TestForAgentsAndCrawlers::test_sitemap

First seen 2 weeks, 2 days ago in b3fedae
CI github-actions:test 1 run
Average
37 ms
median 37 ms
max 37 ms
Phases
Setup 0.81 ms Call 36 ms Teardown 0.56 ms
Categories
Other (Libraries, Unsampled) 37 ms

5 database queries per run

Needs 16 KB of memory (max 16 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 16 hours ago · open run
Show pytest frames
call36 ms96.3%
TestForAgentsAndCrawlers.test_sitemapapps/guides/tests.py:172 response = self.client.get("/sitemap.xml")36 ms96.3%
Client.getdjango/test/client.py:112436 ms96.3%
RequestFactory.getdjango/test/client.py:47536 ms96.3%
RequestFactory.genericdjango/test/client.py:67136 ms96.3%
Client.requestdjango/test/client.py:108236 ms96.3%
ClientHandler.__call__django/test/client.py:17336 ms96.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6236 ms96.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10436 ms96.3%
WhiteNoise.add_fileswhitenoise/base.py:10836 ms96.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12036 ms96.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13136 ms96.3%
WhiteNoise.get_static_filewhitenoise/base.py:20832 ms85.6%
StaticFile.__init__whitenoise/responders.py:778 ms21.4%
StaticFile.get_alternativeswhitenoise/responders.py:2008 ms21.4%
StaticFile.__init__whitenoise/responders.py:758 ms21.4%
Headers.__getitem__<stdlib>/wsgiref/headers.py:838 ms21.4%
Headers.get<stdlib>/wsgiref/headers.py:1064 ms10.7%
Headers.get<stdlib>/wsgiref/headers.py:1044 ms10.7%
StaticFile.__init__whitenoise/responders.py:724 ms10.7%
StaticFile.get_file_statswhitenoise/responders.py:1614 ms10.7%
__init____init__:-14 ms10.7%
FileEntry.__init__whitenoise/responders.py:2634 ms10.7%
FileEntry.stat_regular_filewhitenoise/responders.py:2764 ms10.7%
StaticFile.__init__whitenoise/responders.py:734 ms10.7%
StaticFile.get_headerswhitenoise/responders.py:1764 ms10.7%
formatdate<stdlib>/email/utils.py:2664 ms10.7%
StaticFile.__init__whitenoise/responders.py:764 ms10.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1884 ms10.7%
WhiteNoise.get_static_filewhitenoise/base.py:2024 ms10.7%
Estimated from 9 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

apps/guides/tests.py:172
response = self.client.get("/sitemap.xml")
TestForAgentsAndCrawlers.test_sitemap · Libraries
36 ms

Fixtures

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

Database

5 queries · 0.67 ms
No repeated queries.

Biggest pieces of work

call test body
apps/guides/tests.py:172
36 ms

Reliability

6 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 6 results, oldest first in the strip
When Environment Outcome Duration Commit
16 hours ago CI github-actions:test passed 37 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 24 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 73 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 39 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 66 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 27 ms b3fedae main Profile