Tests / mastodon_auth/tests.py
MastodonLoginFormTests::test_rejects_invalid_idna_hostname
First seen 5 months ago in b300f50
CI
github-actions:test
4 runs
Average
14 ms
median 15 ms
max 18 ms
max 18 ms
Phases
Setup 4 ms
Call 8 ms
Teardown 2 ms
Categories
Database 7 ms
Test code 0.20 ms
Other (pytest, Unsampled, Libraries) 7 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
call3 ms44.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms22.4%
TestCase._fixture_teardowndjango/test/testcases.py:14970.85 ms11.2%
TestCase._should_check_constraintsdjango/test/testcases.py:15060.85 ms11.2%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5040.85 ms11.2%
Cursor.executepsycopg/cursor.py:1130.85 ms11.2%
Connection.waitpsycopg/connection.py:4950.85 ms11.2%
TestCase._fixture_teardowndjango/test/testcases.py:14980.85 ms11.2%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4950.85 ms11.2%
CursorWrapper.executedjango/db/backends/utils.py:790.85 ms11.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.85 ms11.2%
CursorWrapper._executedjango/db/backends/utils.py:1030.85 ms11.2%
Cursor.executepsycopg/cursor.py:1130.85 ms11.2%
Connection.waitpsycopg/connection.py:4950.85 ms11.2%
MastodonLoginFormTests.test_rejects_invalid_idna_hostnamemastodon_auth/tests.py:102 def test_rejects_invalid_idna_hostname(self):0.85 ms11.2%
MastodonLoginFormTests.test_rejects_invalid_idna_hostnamemastodon_auth/tests.py:113 self.assertFalse(form.is_valid())0.85 ms11.2%
BaseForm.is_validdjango/forms/forms.py:2060.85 ms11.2%
BaseForm.errorsdjango/forms/forms.py:2010.85 ms11.2%
BaseForm.full_cleandjango/forms/forms.py:3370.85 ms11.2%
BaseForm._clean_fieldsdjango/forms/forms.py:3500.85 ms11.2%
BaseForm.add_errordjango/forms/forms.py:3140.85 ms11.2%
UserList.extend<stdlib>/collections/__init__.py:14080.85 ms11.2%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
mastodon_auth/tests.py:102
def test_rejects_invalid_idna_hostname(self):
MastodonLoginFormTests.test_rejects_invalid_idna_hostname
· Test code
|
0.85 ms |
|
mastodon_auth/tests.py:113
self.assertFalse(form.is_valid())
MastodonLoginFormTests.test_rejects_invalid_idna_hostname
· Libraries
|
0.85 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call test body
mastodon_auth/tests.py:102
|
2 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
2 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 50 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 8 hours ago | CI github-actions:test | passed | 8 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 16 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 15 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 18 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 2 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 3 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 3 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 4 ms | Run |
| 3 months, 4 weeks ago | CI github-actions | passed | 3 ms | Run |