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

TestRemoteFollowStarterPack::test_error_when_no_subscribe_endpoint

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
154 ms
median 125 ms
max 329 ms
Phases
Setup 2 ms Call 152 ms Teardown 0.28 ms
Categories
Database 27 ms Other (Mocking, Templates, Unsampled, pytest, ...) 128 ms

12 database queries per run

Needs 196 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
call155 ms99.1%
TestRemoteFollowStarterPack.test_error_when_no_subscribe_endpointstarter_packs/tests.py:1264 response = self.client.post(self.url, {"handle": "[email protected]"}, follow=True)150 ms95.7%
Client.postdjango/test/client.py:1162150 ms95.7%
RequestFactory.postdjango/test/client.py:499150 ms95.7%
RequestFactory.genericdjango/test/client.py:671150 ms95.7%
Client.requestdjango/test/client.py:1091150 ms95.7%
ClientHandler.__call__django/test/client.py:173150 ms95.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:63150 ms95.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104148 ms94.6%
WhiteNoise.add_fileswhitenoise/base.py:108148 ms94.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120117 ms74.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131117 ms74.6%
WhiteNoise.get_static_filewhitenoise/base.py:21777 ms49.0%
StaticFile.__init__whitenoise/responders.py:7223 ms14.5%
StaticFile.get_file_statswhitenoise/responders.py:16317 ms11.1%
<GC>~17 ms11.1%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms1.1%
__init____init__:-12 ms1.1%
FileEntry.__init__whitenoise/responders.py:2632 ms1.1%
FileEntry.stat_regular_filewhitenoise/responders.py:2762 ms1.1%
StaticFile.get_file_statswhitenoise/responders.py:1642 ms1.1%
StaticFile.__init__whitenoise/responders.py:7319 ms12.2%
StaticFile.get_headerswhitenoise/responders.py:1807 ms4.5%
StaticFile.get_headerswhitenoise/responders.py:1783 ms2.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1752 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1762 ms1.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:622 ms1.1%
Headers.__delitem__<stdlib>/wsgiref/headers.py:722 ms1.1%
StaticFile.get_headerswhitenoise/responders.py:1712 ms1.1%
StaticFile.__init__whitenoise/responders.py:7417 ms11.1%
parsedate<stdlib>/email/_parseaddr.py:18514 ms8.9%
parsedate_tz<stdlib>/email/_parseaddr.py:5012 ms7.8%
_parsedate_tz<stdlib>/email/_parseaddr.py:1177 ms4.5%
_parsedate_tz<stdlib>/email/_parseaddr.py:745 ms3.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms2.2%
Headers.get<stdlib>/wsgiref/headers.py:1063 ms2.2%
StaticFile.__init__whitenoise/responders.py:7710 ms6.7%
StaticFile.get_alternativeswhitenoise/responders.py:2005 ms3.3%
__init____init__:-13 ms2.2%
Headers.__init__<stdlib>/wsgiref/headers.py:442 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:492 ms1.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:2062 ms1.1%
compile<stdlib>/re/__init__.py:2912 ms1.1%
_compile<stdlib>/re/__init__.py:3342 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:1982 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:2042 ms1.1%
StaticFile.__init__whitenoise/responders.py:767 ms4.5%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms2.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:873 ms2.2%
Headers.get<stdlib>/wsgiref/headers.py:1053 ms2.2%
WhiteNoise.get_static_filewhitenoise/base.py:21223 ms14.5%
WhiteNoise.add_cache_headerswhitenoise/base.py:23323 ms14.5%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17621 ms13.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19721 ms13.4%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2019 ms12.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:23516 ms10.0%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:21614 ms8.9%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2047 ms4.5%
filepath_to_uridjango/utils/encoding.py:2457 ms4.5%
quote<stdlib>/urllib/parse.py:10727 ms4.5%
quote_from_bytes<stdlib>/urllib/parse.py:11077 ms4.5%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2077 ms4.5%
urljoin<stdlib>/urllib/parse.py:7055 ms3.3%
urljoin<stdlib>/urllib/parse.py:7652 ms1.1%
_urlunsplit<stdlib>/urllib/parse.py:6872 ms1.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2142 ms1.1%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:6112 ms1.1%
urlunsplit<stdlib>/urllib/parse.py:6652 ms1.1%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1732 ms1.1%
WhiteNoiseMiddleware.get_name_without_hashwhitenoise/middleware.py:1922 ms1.1%
splitext<frozen posixpath>:1202 ms1.1%
WhiteNoise.get_static_filewhitenoise/base.py:21310 ms6.7%
WhiteNoise.get_static_filewhitenoise/base.py:2115 ms3.3%
WhiteNoise.add_mime_headerswhitenoise/base.py:2305 ms3.3%
Headers.add_header<stdlib>/wsgiref/headers.py:1925 ms3.3%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:505 ms3.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11531 ms20.0%
scantreewhitenoise/base.py:27128 ms17.8%
scantreewhitenoise/base.py:27126 ms16.7%
scantreewhitenoise/base.py:27114 ms8.9%
scantreewhitenoise/base.py:27114 ms8.9%
scantreewhitenoise/base.py:27112 ms7.8%
scantreewhitenoise/base.py:27312 ms7.8%
scantreewhitenoise/base.py:2732 ms1.1%
scantreewhitenoise/base.py:26910 ms6.7%
scantreewhitenoise/base.py:2732 ms1.1%
scantreewhitenoise/base.py:2692 ms1.1%
scantreewhitenoise/base.py:2732 ms1.1%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()5 ms3.3%
TestCase._fixture_setupdjango/test/testcases.py:14815 ms3.3%
TestCase._enter_atomicsdjango/test/testcases.py:13995 ms3.3%
Atomic.__enter__django/db/transaction.py:2235 ms3.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms3.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4005 ms3.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3675 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:795 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms3.3%
Cursor.executepsycopg/cursor.py:1135 ms3.3%
Connection.waitpsycopg/connection.py:4955 ms3.3%
Estimated from 89 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

starter_packs/tests.py:1264
response = self.client.post(self.url, {"handle": "[email protected]"}, follow=True)
TestRemoteFollowStarterPack.test_error_when_no_subscribe_endpoint · Mocking
150 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.06 ms
_live_server_helper function 0.06 ms
_django_isolate_apps 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

12 queries · 13 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:1264
150 ms
call _pre_setup
django/test/testcases.py:1167
5 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 157 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 59 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 125 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 148 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 119 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 120 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 100 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 62 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 301 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 329 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 180 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 124 ms 0c23747 main Run