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

TestAccountIndexQueryParams::test_language_index_strips_unknown_params

First seen 14 hours ago in 0c23747
CI github-actions:test 4 runs
Average
109 ms
median 109 ms
max 146 ms
Phases
Setup 2 ms Call 107 ms Teardown 0.36 ms
Categories
Other (Libraries, Unsampled, Cache, pytest) 109 ms

Needs 187 KB of memory (max 592 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 9 hours ago · open run
Hide pytest frames
setup1 ms1.4%
CallInfo.from_call_pytest/runner.py:3611 ms1.4%
call_and_report.<locals>.<lambda>_pytest/runner.py:2501 ms1.4%
HookCaller.__call__pluggy/_hooks.py:5121 ms1.4%
PluginManager._hookexecpluggy/_manager.py:1201 ms1.4%
_multicallpluggy/_callers.py:1161 ms1.4%
LoggingPlugin.pytest_runtest_setup_pytest/logging.py:8561 ms1.4%
call71 ms97.9%
CallInfo.from_call_pytest/runner.py:36171 ms97.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:25071 ms97.9%
HookCaller.__call__pluggy/_hooks.py:51271 ms97.9%
PluginManager._hookexecpluggy/_manager.py:12071 ms97.9%
_multicallpluggy/_callers.py:12171 ms97.9%
pytest_runtest_call_pytest/runner.py:18471 ms97.9%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61471 ms97.9%
SimpleTestCase.__call__django/test/testcases.py:31471 ms97.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36971 ms97.9%
TestCase.__call__<stdlib>/unittest/case.py:74771 ms97.9%
TestCase.run<stdlib>/unittest/case.py:69171 ms97.9%
TestCase._callTestMethod<stdlib>/unittest/case.py:63771 ms97.9%
TestAccountIndexQueryParams.test_language_index_strips_unknown_paramsfedidevs/tests.py:37 response = self.client.get("/python/?amp=1")71 ms97.9%
Client.getdjango/test/client.py:113371 ms97.9%
RequestFactory.getdjango/test/client.py:47571 ms97.9%
RequestFactory.genericdjango/test/client.py:67171 ms97.9%
Client.requestdjango/test/client.py:109171 ms97.9%
ClientHandler.__call__django/test/client.py:17368 ms93.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6366 ms91.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10466 ms91.4%
WhiteNoise.add_fileswhitenoise/base.py:10866 ms91.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12058 ms80.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13157 ms78.3%
WhiteNoise.get_static_filewhitenoise/base.py:21736 ms50.0%
StaticFile.__init__whitenoise/responders.py:7211 ms15.2%
StaticFile.get_file_statswhitenoise/responders.py:1618 ms10.9%
__init____init__:-18 ms10.9%
FileEntry.__init__whitenoise/responders.py:2638 ms10.9%
FileEntry.stat_regular_filewhitenoise/responders.py:2768 ms10.9%
<GC>~8 ms10.9%
StaticFile.get_file_statswhitenoise/responders.py:1592 ms2.2%
StaticFile.__init__whitenoise/responders.py:739 ms13.1%
StaticFile.get_headerswhitenoise/responders.py:1763 ms4.4%
formatdate<stdlib>/email/utils.py:2662 ms2.2%
Headers.__setitem__<stdlib>/wsgiref/headers.py:622 ms2.2%
Headers.__delitem__<stdlib>/wsgiref/headers.py:712 ms2.2%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:482 ms2.2%
StaticFile.get_headerswhitenoise/responders.py:1772 ms2.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms2.2%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms2.2%
StaticFile.get_headerswhitenoise/responders.py:1812 ms2.2%
Headers.__setitem__<stdlib>/wsgiref/headers.py:622 ms2.2%
Headers.__delitem__<stdlib>/wsgiref/headers.py:722 ms2.2%
StaticFile.get_headerswhitenoise/responders.py:1782 ms2.2%
parsedate<stdlib>/email/_parseaddr.py:1852 ms2.2%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms2.2%
_parsedate_tz<stdlib>/email/_parseaddr.py:692 ms2.2%
StaticFile.__init__whitenoise/responders.py:778 ms10.9%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms4.4%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms4.4%
__init____init__:-13 ms4.4%
Headers.__init__<stdlib>/wsgiref/headers.py:443 ms4.4%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:522 ms2.2%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:482 ms2.2%
StaticFile.get_alternativeswhitenoise/responders.py:1982 ms2.2%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:1982 ms2.2%
<GC>~2 ms2.2%
StaticFile.__init__whitenoise/responders.py:763 ms4.4%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms2.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms2.2%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms2.2%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:492 ms2.2%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms2.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms2.2%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms2.2%
StaticFile.__init__whitenoise/responders.py:743 ms4.4%
parsedate<stdlib>/email/_parseaddr.py:1853 ms4.4%
parsedate_tz<stdlib>/email/_parseaddr.py:503 ms4.4%
_parsedate_tz<stdlib>/email/_parseaddr.py:742 ms2.2%
_parsedate_tz<stdlib>/email/_parseaddr.py:1622 ms2.2%
WhiteNoise.get_static_filewhitenoise/base.py:21216 ms21.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:23316 ms21.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17614 ms19.6%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19714 ms19.6%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2013 ms17.4%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:23513 ms17.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2166 ms8.7%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2073 ms4.4%
urljoin<stdlib>/urllib/parse.py:7312 ms2.2%
urljoin<stdlib>/urllib/parse.py:7052 ms2.2%
_coerce_args<stdlib>/urllib/parse.py:1272 ms2.2%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2042 ms2.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2083 ms4.4%
urlsplit<stdlib>/urllib/parse.py:5883 ms4.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2072 ms2.2%
urldefrag<stdlib>/urllib/parse.py:7842 ms2.2%
<lambda><string>:12 ms2.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2292 ms2.2%
unquote<stdlib>/urllib/parse.py:8482 ms2.2%
LazyObject.__getattribute__django/utils/functional.py:2802 ms2.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1732 ms2.2%
WhiteNoiseMiddleware.get_name_without_hashwhitenoise/middleware.py:1922 ms2.2%
WhiteNoise.get_static_filewhitenoise/base.py:2113 ms4.4%
WhiteNoise.add_mime_headerswhitenoise/base.py:2302 ms2.2%
Headers.add_header<stdlib>/wsgiref/headers.py:1912 ms2.2%
_formatparam<stdlib>/wsgiref/headers.py:252 ms2.2%
WhiteNoise.add_mime_headerswhitenoise/base.py:2252 ms2.2%
MediaTypes.get_typewhitenoise/media_types.py:192 ms2.2%
splitext<frozen posixpath>:1202 ms2.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1322 ms2.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms10.9%
scantreewhitenoise/base.py:2715 ms6.5%
scantreewhitenoise/base.py:2713 ms4.4%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2712 ms2.2%
scantreewhitenoise/base.py:2732 ms2.2%
scantreewhitenoise/base.py:2732 ms2.2%
scantreewhitenoise/base.py:2732 ms2.2%
BaseHandler.load_middlewaredjango/core/handlers/base.py:972 ms2.2%
convert_exception_to_responsedjango/core/handlers/exception.py:382 ms2.2%
iscoroutinefunction<stdlib>/inspect.py:334 return _has_code_flag(obj, CO_COROUTINE) or _has_coroutine_mark(obj)2 ms2.2%
ClientHandler.__call__django/test/client.py:1762 ms2.2%
Signal.senddjango/dispatch/dispatcher.py:2422 ms2.2%
ClientHandler.__call__django/test/client.py:2072 ms2.2%
HttpResponseBase.closedjango/http/response.py:3482 ms2.2%
Signal.senddjango/dispatch/dispatcher.py:2492 ms2.2%
close_cachesdjango/core/cache/__init__.py:642 ms2.2%
BaseConnectionHandler.close_alldjango/utils/connection.py:842 ms2.2%
BaseConnectionHandler.alldjango/utils/connection.py:772 ms2.2%
teardown0.53 ms0.7%
CallInfo.from_call_pytest/runner.py:3610.53 ms0.7%
call_and_report.<locals>.<lambda>_pytest/runner.py:2500.53 ms0.7%
HookCaller.__call__pluggy/_hooks.py:5120.53 ms0.7%
PluginManager._hookexecpluggy/_manager.py:1200.53 ms0.7%
_multicallpluggy/_callers.py:1520.53 ms0.7%
CaptureManager.pytest_runtest_teardown_pytest/capture.py:9040.53 ms0.7%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2100.53 ms0.7%
CaptureManager.item_capture_pytest/capture.py:8650.53 ms0.7%
CaptureManager.suspend_global_capture_pytest/capture.py:7900.53 ms0.7%
MultiCapture.suspend_capturing_pytest/capture.py:6710.53 ms0.7%
FDCaptureBase.suspend_pytest/capture.py:5470.53 ms0.7%
Estimated from 47 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Hot lines in your code

fedidevs/tests.py:37
response = self.client.get("/python/?amp=1")
TestAccountIndexQueryParams.test_language_index_strips_unknown_params · Libraries
71 ms

Fixtures

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

Biggest pieces of work

call test body
fedidevs/tests.py:37
71 ms
setup pytest internals 1 ms
teardown pytest internals 0.53 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
9 hours ago CI github-actions:test passed 73 ms d923a46 main Profile
9 hours ago CI github-actions:test passed 146 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 91 ms 623aa3e main Profile
14 hours ago CI github-actions:test passed 128 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 61 ms 0c23747 main Run