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, 9 hours ago ·
open run
call3 ms44.9%
CallInfo.from_call_pytest/runner.py:3613 ms44.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:2503 ms44.9%
HookCaller.__call__pluggy/_hooks.py:5123 ms44.9%
PluginManager._hookexecpluggy/_manager.py:1203 ms44.9%
_multicallpluggy/_callers.py:1213 ms44.9%
pytest_runtest_call_pytest/runner.py:1843 ms44.9%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6143 ms44.9%
SimpleTestCase.__call__django/test/testcases.py:3143 ms44.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3692 ms22.4%
TestCase.__call__<stdlib>/unittest/case.py:7472 ms22.4%
TestCase.run<stdlib>/unittest/case.py:6912 ms22.4%
TestCase._callTestMethod<stdlib>/unittest/case.py:6372 ms22.4%
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%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3722 ms22.4%
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%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1000.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%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
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 | |
|---|---|---|---|---|
| 9 hours ago | CI github-actions:test | passed | 8 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 16 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 15 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 18 ms | Profile |
| 14 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 |