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

TestAccountIndexQueryParams::test_empty_q_is_preserved

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
135 ms
median 101 ms
max 331 ms
Phases
Setup 2 ms Call 133 ms Teardown 0.39 ms
Categories
Other (Libraries, pytest, Unsampled) 135 ms

Needs 579 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
call61 ms97.5%
TestAccountIndexQueryParams.test_empty_q_is_preservedfedidevs/tests.py:34 response = self.client.get("/?q=&amp=1")61 ms97.5%
Client.getdjango/test/client.py:113361 ms97.5%
RequestFactory.getdjango/test/client.py:47561 ms97.5%
RequestFactory.genericdjango/test/client.py:67161 ms97.5%
Client.requestdjango/test/client.py:109161 ms97.5%
ClientHandler.__call__django/test/client.py:17361 ms97.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6361 ms97.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10461 ms97.5%
WhiteNoise.add_fileswhitenoise/base.py:10861 ms97.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12061 ms97.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13157 ms92.1%
WhiteNoise.get_static_filewhitenoise/base.py:21744 ms70.4%
StaticFile.__init__whitenoise/responders.py:7720 ms32.5%
StaticFile.get_alternativeswhitenoise/responders.py:19813 ms21.7%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:19813 ms21.7%
<GC>~13 ms21.7%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms5.4%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms5.4%
StaticFile.__init__whitenoise/responders.py:7313 ms21.7%
StaticFile.get_headerswhitenoise/responders.py:1703 ms5.4%
StaticFile.get_headerswhitenoise/responders.py:1713 ms5.4%
StaticFile.get_headerswhitenoise/responders.py:1673 ms5.4%
StaticFile.get_headerswhitenoise/responders.py:1763 ms5.4%
formatdate<stdlib>/email/utils.py:2663 ms5.4%
format_datetime<stdlib>/email/utils.py:2843 ms5.4%
StaticFile.__init__whitenoise/responders.py:7210 ms16.3%
StaticFile.get_file_statswhitenoise/responders.py:1593 ms5.4%
WhiteNoise.get_static_filewhitenoise/base.py:21213 ms21.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:23313 ms21.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17613 ms21.7%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19713 ms21.7%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2010 ms16.3%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2353 ms5.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2163 ms5.4%
Estimated from 18 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

fedidevs/tests.py:34
response = self.client.get("/?q=&amp=1")
TestAccountIndexQueryParams.test_empty_q_is_preserved · Libraries
61 ms

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestAccountIndexQueryParams class 0.10 ms
_django_setup_unittest class 0.09 ms
_django_set_urlconf function 0.07 ms
_template_string_if_invalid_marker function 0.05 ms
_django_db_marker function 0.04 ms
_live_server_helper function 0.04 ms
_django_isolate_apps function 0.04 ms
_dj_autoclear_mailbox function 0.03 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.02 ms

Biggest pieces of work

call test body
fedidevs/tests.py:34
61 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 62 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 54 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 94 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 151 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 94 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 101 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 331 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 58 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 127 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 186 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 231 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 65 ms 0c23747 main Run