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

MastodonAuthCallbackTests::test_missing_code_state_is_logged_at_error

First seen 3 months, 3 weeks ago in 8fac7b5
CI github-actions:test 4 runs
Average
119 ms
median 135 ms
max 164 ms
Phases
Setup 2 ms Call 117 ms Teardown 0.30 ms
Categories
Database 2 ms Other (Libraries, pytest, Unsampled) 117 ms

5 database queries per run

Needs 0 KB of memory (max 0 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Show pytest frames
call41 ms97.8%
MastodonAuthCallbackTests.test_missing_code_state_is_logged_at_errormastodon_auth/tests.py:610 response = self.client.get("/mastodon_auth/")41 ms97.8%
Client.getdjango/test/client.py:113341 ms97.8%
RequestFactory.getdjango/test/client.py:47541 ms97.8%
RequestFactory.genericdjango/test/client.py:67141 ms97.8%
Client.requestdjango/test/client.py:109141 ms97.8%
ClientHandler.__call__django/test/client.py:17341 ms97.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6341 ms97.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10441 ms97.8%
WhiteNoise.add_fileswhitenoise/base.py:10841 ms97.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12033 ms78.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13130 ms71.7%
WhiteNoise.get_static_filewhitenoise/base.py:21216 ms39.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:23311 ms26.1%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17611 ms26.1%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1978 ms19.6%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms6.5%
WhiteNoise.get_static_filewhitenoise/base.py:21714 ms32.6%
StaticFile.__init__whitenoise/responders.py:738 ms19.6%
StaticFile.get_headerswhitenoise/responders.py:1703 ms6.5%
StaticFile.get_headerswhitenoise/responders.py:1763 ms6.5%
StaticFile.__init__whitenoise/responders.py:773 ms6.5%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms6.5%
StaticFile.__init__whitenoise/responders.py:763 ms6.5%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1893 ms6.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms19.6%
scantreewhitenoise/base.py:2718 ms19.6%
scantreewhitenoise/base.py:2718 ms19.6%
scantreewhitenoise/base.py:2735 ms13.0%
scantreewhitenoise/base.py:2713 ms6.5%
scantreewhitenoise/base.py:2713 ms6.5%
scantreewhitenoise/base.py:2713 ms6.5%
scantreewhitenoise/base.py:2733 ms6.5%
Estimated from 15 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

mastodon_auth/tests.py:610
response = self.client.get("/mastodon_auth/")
MastodonAuthCallbackTests.test_missing_code_state_is_logged_at_error · Libraries
41 ms

Fixtures

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

Database

5 queries · 0.58 ms
No repeated queries.

Biggest pieces of work

call test body
mastodon_auth/tests.py:610
41 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 7 results, oldest first in the strip
When Environment Outcome Duration Commit
8 hours ago CI github-actions:test passed 42 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 155 ms 82997f8 main Profile
8 hours ago CI github-actions:test passed 164 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 115 ms ab6465a main Profile
13 hours ago CI github-actions:test passed 64 ms 0c23747 main Run
3 months, 3 weeks ago CI github-actions passed 49 ms 69d78ea HEAD Run
3 months, 3 weeks ago CI github-actions passed 68 ms 8fac7b5 main Run