Tests / starter_packs/tests.py
TestGetSubscribeUrl::test_rejects_non_https_template
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
6 ms
median 5 ms
max 11 ms
max 11 ms
Phases
Setup 1 ms
Call 4 ms
Teardown 0.68 ms
Categories
Database 3 ms
Other (Unsampled, pytest, Mocking) 3 ms
5 database queries per run
Needs 1 KB of memory (max 12 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call9 ms84.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()5 ms50.4%
TestCase._fixture_teardowndjango/test/testcases.py:14974 ms33.6%
TestCase._should_check_constraintsdjango/test/testcases.py:15064 ms33.6%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5044 ms33.6%
Cursor.executepsycopg/cursor.py:1134 ms33.6%
Connection.waitpsycopg/connection.py:4954 ms33.6%
TestCase._fixture_teardowndjango/test/testcases.py:15002 ms16.8%
TestCase._rollback_atomicsdjango/test/testcases.py:14082 ms16.8%
Atomic.__exit__django/db/transaction.py:2952 ms16.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms16.8%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4132 ms16.8%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3712 ms16.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms16.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms16.8%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms16.8%
Cursor.executepsycopg/cursor.py:1132 ms16.8%
Connection.waitpsycopg/connection.py:4952 ms16.8%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms16.8%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms16.8%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms16.8%
Atomic.__enter__django/db/transaction.py:2232 ms16.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms16.8%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms16.8%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms16.8%
CursorWrapper.executedjango/db/backends/utils.py:792 ms16.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms16.8%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms16.8%
Cursor.executepsycopg/cursor.py:1132 ms16.8%
Connection.waitpsycopg/connection.py:4952 ms16.8%
_patch.decoration_helper<stdlib>/unittest/mock.py:1418 arg = exit_stack.enter_context(patching)2 ms16.8%
_BaseExitStack.enter_context<stdlib>/contextlib.py:5942 ms16.8%
_patch.__enter__<stdlib>/unittest/mock.py:15722 ms16.8%
MagicMixin.__init__<stdlib>/unittest/mock.py:21862 ms16.8%
MagicMixin._mock_set_magics<stdlib>/unittest/mock.py:22092 ms16.8%
teardown0.96 ms9.1%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()0.96 ms9.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.96 ms9.1%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3550.96 ms9.1%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4080.96 ms9.1%
Connection.closepsycopg/connection.py:2010.96 ms9.1%
Estimated from 6 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps 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 · 5 msNo repeated queries.
Biggest pieces of work
|
call _post_teardown
django/test/testcases.py:1243
|
5 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
2 ms |
|
call decoration_helper
<stdlib>/unittest/mock.py:1418
|
2 ms |
|
teardown tearDownClass
django/test/testcases.py:1458
|
0.96 ms |
Reliability
14 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 14 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 11 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 6 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 6 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 4 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 5 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 4 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 5 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 4 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 3 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 3 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 7 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 8 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 11 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 2 ms | Run |