Tests / starter_packs/tests.py
TestGetSubscribeUrl::test_rejects_template_without_uri_placeholder
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
8 ms
median 7 ms
max 12 ms
max 12 ms
Phases
Setup 1 ms
Call 6 ms
Teardown 0.26 ms
Categories
Database 5 ms
Other (Mocking, Unsampled, pytest) 3 ms
5 database queries per run
Needs 1 KB of memory (max 4 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 9 hours ago ·
open run
call3 ms73.3%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()3 ms55.0%
TestCase._fixture_setupdjango/test/testcases.py:14813 ms55.0%
TestCase._enter_atomicsdjango/test/testcases.py:13993 ms55.0%
Atomic.__enter__django/db/transaction.py:2233 ms55.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms55.0%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4003 ms55.0%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3673 ms55.0%
CursorWrapper.executedjango/db/backends/utils.py:793 ms55.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms55.0%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms55.0%
Cursor.executepsycopg/cursor.py:1133 ms55.0%
Connection.waitpsycopg/connection.py:4953 ms55.0%
_patch.decoration_helper<stdlib>/unittest/mock.py:1418 arg = exit_stack.enter_context(patching)0.83 ms18.3%
_BaseExitStack.enter_context<stdlib>/contextlib.py:5940.83 ms18.3%
_patch.__enter__<stdlib>/unittest/mock.py:15680.83 ms18.3%
MagicMixin.__init__<stdlib>/unittest/mock.py:21820.83 ms18.3%
MagicMixin._mock_set_magics<stdlib>/unittest/mock.py:22050.83 ms18.3%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.06 ms |
| _template_string_if_invalid_marker function | 0.04 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.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call _pre_setup
django/test/testcases.py:1167
|
3 ms |
|
call decoration_helper
<stdlib>/unittest/mock.py:1418
|
0.83 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 9 hours ago | CI github-actions:test | passed | 5 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 4 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 9 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 12 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 2 ms | Run |