Tests / starter_packs/tests.py
TestGetSubscribeUrl::test_rejects_template_without_uri_placeholder
First seen 15 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, 10 hours ago ·
open run
call3 ms73.3%
CallInfo.from_call_pytest/runner.py:3613 ms73.3%
call_and_report.<locals>.<lambda>_pytest/runner.py:2503 ms73.3%
HookCaller.__call__pluggy/_hooks.py:5123 ms73.3%
PluginManager._hookexecpluggy/_manager.py:1203 ms73.3%
_multicallpluggy/_callers.py:1213 ms73.3%
pytest_runtest_call_pytest/runner.py:1843 ms73.3%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6143 ms73.3%
SimpleTestCase.__call__django/test/testcases.py:3143 ms73.3%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3603 ms55.0%
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%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1003 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%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3690.83 ms18.3%
TestCase.__call__<stdlib>/unittest/case.py:7470.83 ms18.3%
TestCase.run<stdlib>/unittest/case.py:6910.83 ms18.3%
TestCase._callTestMethod<stdlib>/unittest/case.py:6370.83 ms18.3%
_patch.decorate_callable.<locals>.patched<stdlib>/unittest/mock.py:14360.83 ms18.3%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2030.83 ms18.3%
_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
shown
.
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 | |
|---|---|---|---|---|
| 10 hours ago | CI github-actions:test | passed | 5 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 4 ms | Profile |
| 10 hours ago | CI github-actions:test | passed | 9 ms | Profile |
| 15 hours ago | CI github-actions:test | passed | 12 ms | Profile |
| 15 hours ago | CI github-actions:test | passed | 2 ms | Run |