Tests / mastodon_auth/tests.py
MastodonAuthCallbackTests::test_unknown_state_is_logged_as_warning_not_error
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
102 ms
median 87 ms
max 223 ms
max 223 ms
Phases
Setup 2 ms
Call 97 ms
Teardown 3 ms
Categories
Database 9 ms
Other (Libraries, Unsampled, pytest, Logging) 93 ms
5 database queries per run
Needs 284 KB of memory (max 716 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call82 ms90.7%
MastodonAuthCallbackTests.test_unknown_state_is_logged_as_warning_not_errormastodon_auth/tests.py:707 response = self.client.get("/mastodon_auth/", {"code": "abc", "state": "never-cached"})82 ms90.7%
Client.getdjango/test/client.py:113382 ms90.7%
RequestFactory.getdjango/test/client.py:47582 ms90.7%
RequestFactory.genericdjango/test/client.py:67182 ms90.7%
Client.requestdjango/test/client.py:109182 ms90.7%
ClientHandler.__call__django/test/client.py:17382 ms90.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6382 ms90.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10467 ms74.2%
WhiteNoise.add_fileswhitenoise/base.py:10867 ms74.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12060 ms65.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13160 ms65.9%
WhiteNoise.get_static_filewhitenoise/base.py:21745 ms49.5%
StaticFile.__init__whitenoise/responders.py:7715 ms16.5%
StaticFile.get_alternativeswhitenoise/responders.py:2027 ms8.2%
StaticFile.get_alternativeswhitenoise/responders.py:2007 ms8.2%
__init____init__:-17 ms8.2%
StaticFile.__init__whitenoise/responders.py:7215 ms16.5%
StaticFile.get_file_statswhitenoise/responders.py:1617 ms8.2%
StaticFile.get_alternativeswhitenoise/responders.py:2007 ms8.2%
__init____init__:-17 ms8.2%
StaticFile.__init__whitenoise/responders.py:747 ms8.2%
parsedate<stdlib>/email/_parseaddr.py:1857 ms8.2%
WhiteNoise.get_static_filewhitenoise/base.py:21215 ms16.5%
WhiteNoise.add_cache_headerswhitenoise/base.py:23315 ms16.5%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17615 ms16.5%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19715 ms16.5%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2015 ms16.5%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:23515 ms16.5%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2147 ms8.2%
ManifestFilesMixin.stored_namedjango/contrib/staticfiles/storage.py:5957 ms8.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1157 ms8.2%
scantreewhitenoise/base.py:2717 ms8.2%
scantreewhitenoise/base.py:2717 ms8.2%
scantreewhitenoise/base.py:2717 ms8.2%
scantreewhitenoise/base.py:2717 ms8.2%
scantreewhitenoise/base.py:2717 ms8.2%
scantreewhitenoise/base.py:2737 ms8.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:11115 ms16.5%
WhiteNoise.add_fileswhitenoise/base.py:10815 ms16.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12015 ms16.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1317 ms8.2%
WhiteNoise.get_static_filewhitenoise/base.py:2127 ms8.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2367 ms8.2%
Estimated from 11 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
mastodon_auth/tests.py:707
response = self.client.get("/mastodon_auth/", {"code": "abc", "state": "never-cached"})
MastodonAuthCallbackTests.test_unknown_state_is_logged_as_warning_not_error
· Libraries
|
82 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _django_isolate_apps function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call test body
mastodon_auth/tests.py:707
|
82 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 90 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 52 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 118 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 78 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 60 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 87 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 73 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 53 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 118 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 223 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 171 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 72 ms | Run |