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

TestMigratedLegacyConferences::test_djangoconafrica_date_redirects

First seen 12 hours ago in 0c23747
CI github-actions:test 4 runs
Average
116 ms
median 96 ms
max 208 ms
Phases
Setup 2 ms Call 114 ms Teardown 0.36 ms
Categories
Database 4 ms Other (Libraries, pytest, Unsampled) 112 ms

5 database queries per run

Needs 1 MB 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
setup0.97 ms1.5%
iscoroutinefunction<stdlib>/inspect.py:334 return _has_code_flag(obj, CO_COROUTINE) or _has_coroutine_mark(obj)0.97 ms1.5%
call63 ms98.0%
TestMigratedLegacyConferences.test_djangoconafrica_date_redirectsconfs/tests.py:176 response = self.client.get(reverse("djangoconafrica", args=[dt.date(2023, 11, 7)]))58 ms89.8%
Client.getdjango/test/client.py:113358 ms89.8%
RequestFactory.getdjango/test/client.py:47558 ms89.8%
RequestFactory.genericdjango/test/client.py:67158 ms89.8%
Client.requestdjango/test/client.py:109158 ms89.8%
ClientHandler.__call__django/test/client.py:17356 ms87.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6356 ms87.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10455 ms85.7%
WhiteNoise.add_fileswhitenoise/base.py:10855 ms85.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12047 ms73.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13147 ms73.5%
WhiteNoise.get_static_filewhitenoise/base.py:21735 ms55.1%
StaticFile.__init__whitenoise/responders.py:7312 ms18.4%
StaticFile.get_headerswhitenoise/responders.py:1785 ms8.2%
parsedate<stdlib>/email/_parseaddr.py:1855 ms8.2%
parsedate_tz<stdlib>/email/_parseaddr.py:504 ms6.1%
_parsedate_tz<stdlib>/email/_parseaddr.py:1621 ms2.0%
_parsedate_tz<stdlib>/email/_parseaddr.py:1211 ms2.0%
_parsedate_tz<stdlib>/email/_parseaddr.py:1611 ms2.0%
format_datetime<stdlib>/email/utils.py:2841 ms2.0%
StaticFile.get_headerswhitenoise/responders.py:1763 ms4.1%
formatdate<stdlib>/email/utils.py:2663 ms4.1%
format_datetime<stdlib>/email/utils.py:2753 ms4.1%
StaticFile.get_headerswhitenoise/responders.py:1813 ms4.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms2.0%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms2.0%
Headers.__setitem__<stdlib>/wsgiref/headers.py:641 ms2.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:481 ms2.0%
StaticFile.__init__whitenoise/responders.py:7610 ms16.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1888 ms12.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:875 ms8.2%
Headers.get<stdlib>/wsgiref/headers.py:1043 ms4.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms2.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:521 ms2.0%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms2.0%
Headers.get<stdlib>/wsgiref/headers.py:1051 ms2.0%
Headers.__contains__<stdlib>/wsgiref/headers.py:851 ms2.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1893 ms4.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms2.0%
Headers.get<stdlib>/wsgiref/headers.py:1051 ms2.0%
StaticFile.__init__whitenoise/responders.py:778 ms12.2%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms4.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:641 ms2.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:461 ms2.0%
StaticFile.get_alternativeswhitenoise/responders.py:2041 ms2.0%
compile<stdlib>/re/__init__.py:2891 ms2.0%
<GC>~1 ms2.0%
StaticFile.get_alternativeswhitenoise/responders.py:2001 ms2.0%
__init____init__:-11 ms2.0%
Headers.__init__<stdlib>/wsgiref/headers.py:441 ms2.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:501 ms2.0%
StaticFile.get_alternativeswhitenoise/responders.py:2031 ms2.0%
StaticFile.get_alternativeswhitenoise/responders.py:2071 ms2.0%
Headers.items<stdlib>/wsgiref/headers.py:1391 ms2.0%
StaticFile.__init__whitenoise/responders.py:753 ms4.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms4.1%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms2.0%
StaticFile.__init__whitenoise/responders.py:723 ms4.1%
StaticFile.get_file_statswhitenoise/responders.py:1631 ms2.0%
StaticFile.get_file_statswhitenoise/responders.py:1571 ms2.0%
__init____init__:-11 ms2.0%
FileEntry.__init__whitenoise/responders.py:2631 ms2.0%
FileEntry.stat_regular_filewhitenoise/responders.py:2741 ms2.0%
WhiteNoise.get_static_filewhitenoise/base.py:2129 ms14.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2339 ms14.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1767 ms10.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1977 ms10.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:207 ms10.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2354 ms6.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2143 ms4.1%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:6111 ms2.0%
urlunsplit<stdlib>/urllib/parse.py:6651 ms2.0%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:5951 ms2.0%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2161 ms2.0%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2071 ms2.0%
urljoin<stdlib>/urllib/parse.py:7071 ms2.0%
_urlsplit<stdlib>/urllib/parse.py:6241 ms2.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1731 ms2.0%
WhiteNoiseMiddleware.get_name_without_hashwhitenoise/middleware.py:1911 ms2.0%
splitext<frozen posixpath>:1191 ms2.0%
WhiteNoise.get_static_filewhitenoise/base.py:2111 ms2.0%
WhiteNoise.add_mime_headerswhitenoise/base.py:2261 ms2.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1157 ms10.2%
scantreewhitenoise/base.py:2717 ms10.2%
scantreewhitenoise/base.py:2715 ms8.2%
scantreewhitenoise/base.py:2713 ms4.1%
scantreewhitenoise/base.py:2713 ms4.1%
scantreewhitenoise/base.py:2711 ms2.0%
scantreewhitenoise/base.py:2731 ms2.0%
scantreewhitenoise/base.py:2731 ms2.0%
scantreewhitenoise/base.py:2731 ms2.0%
scantreewhitenoise/base.py:2691 ms2.0%
scantreewhitenoise/base.py:2731 ms2.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1111 ms2.0%
WhiteNoise.add_fileswhitenoise/base.py:1081 ms2.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1201 ms2.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1311 ms2.0%
WhiteNoise.get_static_filewhitenoise/base.py:2171 ms2.0%
StaticFile.__init__whitenoise/responders.py:761 ms2.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1901 ms2.0%
ClientHandler.__call__django/test/client.py:1861 ms2.0%
BaseHandler.get_responsedjango/core/handlers/base.py:1421 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1231 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1451 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3801 ms2.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:561 ms2.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3821 ms2.0%
MessageMiddleware.process_responsedjango/contrib/messages/middleware.py:231 ms2.0%
BaseStorage.updatedjango/contrib/messages/storage/base.py:1381 ms2.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms6.1%
TestCase._fixture_teardowndjango/test/testcases.py:14983 ms4.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4953 ms4.1%
CursorWrapper.executedjango/db/backends/utils.py:793 ms4.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms4.1%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms4.1%
Cursor.executepsycopg/cursor.py:1133 ms4.1%
Connection.waitpsycopg/connection.py:4953 ms4.1%
TestCase._fixture_teardowndjango/test/testcases.py:15001 ms2.0%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms2.0%
Atomic.__exit__django/db/transaction.py:2981 ms2.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms2.0%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms2.0%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms2.0%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.0%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms2.0%
Cursor.executepsycopg/cursor.py:1131 ms2.0%
Connection.waitpsycopg/connection.py:4961 ms2.0%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms2.0%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms2.0%
teardown0.33 ms0.5%
Estimated from 50 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:176
response = self.client.get(reverse("djangoconafrica", args=[dt.date(2023, 11, 7)]))
TestMigratedLegacyConferences.test_djangoconafrica_date_redirects · Libraries
58 ms

Fixtures

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

Database

5 queries · 2 ms
No repeated queries.

Biggest pieces of work

call test body
confs/tests.py:176
58 ms
call _post_teardown
django/test/testcases.py:1243
4 ms
call _pre_setup
django/test/testcases.py:1167
1 ms
setup iscoroutinefunction
<stdlib>/inspect.py:334
0.97 ms
teardown pytest internals 0.33 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 64 ms d923a46 main Profile
7 hours ago CI github-actions:test passed 77 ms 82997f8 main Profile
7 hours ago CI github-actions:test passed 208 ms 623aa3e main Profile
12 hours ago CI github-actions:test passed 114 ms ab6465a main Profile
12 hours ago CI github-actions:test passed 135 ms 0c23747 main Run