flakytest.dev anze3db fedidevs
Tests / starter_packs/tests.py

TestGetSubscribeUrl::test_webfinger_invalid_json

First seen 14 hours ago in 0c23747
CI github-actions:test 4 runs
Average
9 ms
median 8 ms
max 15 ms
Phases
Setup 1 ms Call 8 ms Teardown 0.22 ms
Categories
Database 5 ms Other (pytest, Unsampled, Mocking, Libraries) 4 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
Hide pytest frames
setup0.58 ms12.1%
CallInfo.from_call_pytest/runner.py:3610.58 ms12.1%
call_and_report.<locals>.<lambda>_pytest/runner.py:2500.58 ms12.1%
HookCaller.__call__pluggy/_hooks.py:5120.58 ms12.1%
PluginManager._hookexecpluggy/_manager.py:1200.58 ms12.1%
_multicallpluggy/_callers.py:1210.58 ms12.1%
pytest_runtest_setup_pytest/runner.py:1700.58 ms12.1%
SetupState.setup_pytest/runner.py:5360.58 ms12.1%
TestCaseFunction.setup_pytest/unittest.py:2480.58 ms12.1%
Function.setup_pytest/python.py:17100.58 ms12.1%
TopRequest._fillfixtures_pytest/fixtures.py:8060.58 ms12.1%
FixtureRequest.getfixturevalue_pytest/fixtures.py:6300.58 ms12.1%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:7260.58 ms12.1%
FixtureDef.execute_pytest/fixtures.py:12320.58 ms12.1%
call4 ms83.6%
CallInfo.from_call_pytest/runner.py:3614 ms83.6%
call_and_report.<locals>.<lambda>_pytest/runner.py:2504 ms83.6%
HookCaller.__call__pluggy/_hooks.py:5124 ms83.6%
PluginManager._hookexecpluggy/_manager.py:1204 ms83.6%
_multicallpluggy/_callers.py:1214 ms83.6%
pytest_runtest_call_pytest/runner.py:1844 ms83.6%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6144 ms83.6%
SimpleTestCase.__call__django/test/testcases.py:3144 ms83.6%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3693 ms55.7%
TestCase.__call__<stdlib>/unittest/case.py:7473 ms55.7%
TestCase.run<stdlib>/unittest/case.py:6913 ms55.7%
TestCase._callTestMethod<stdlib>/unittest/case.py:6373 ms55.7%
_patch.decorate_callable.<locals>.patched<stdlib>/unittest/mock.py:14393 ms55.7%
TestGetSubscribeUrl.test_webfinger_invalid_jsonstarter_packs/tests.py:1229 self.assertIsNone(get_subscribe_url("user", "example.com", self.target))3 ms55.7%
get_subscribe_urlstarter_packs/remote_follow.py:57 res = httpx.get(3 ms55.7%
CallableMixin.__call__<stdlib>/unittest/mock.py:11763 ms55.7%
CallableMixin._mock_call<stdlib>/unittest/mock.py:11803 ms55.7%
CallableMixin._execute_mock_call<stdlib>/unittest/mock.py:12343 ms55.7%
<GC>~3 ms55.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3601 ms27.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms27.9%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms27.9%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms27.9%
Atomic.__enter__django/db/transaction.py:2231 ms27.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms27.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms27.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms27.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms27.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms27.9%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms27.9%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms27.9%
Cursor.executepsycopg/cursor.py:1131 ms27.9%
Connection.waitpsycopg/connection.py:4951 ms27.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms27.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms27.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms27.9%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Hot lines in your code

starter_packs/remote_follow.py:57
res = httpx.get(
get_subscribe_url · Mocking
3 ms

Fixtures

Exact setup time
_template_string_if_invalid_marker function 0.03 ms
_django_db_marker function 0.03 ms
_dj_autoclear_mailbox function 0.03 ms
_django_isolate_apps function 0.03 ms
_live_server_helper function 0.03 ms
_django_set_urlconf function 0.02 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.01 ms

Database

5 queries · 2 ms
No repeated queries.

Biggest pieces of work

call test body
starter_packs/tests.py:1229
3 ms
call _pre_setup
django/test/testcases.py:1167
1 ms
setup pytest internals 0.58 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
9 hours ago CI github-actions:test passed 5 ms d923a46 main Profile
9 hours ago CI github-actions:test passed 4 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 15 ms 623aa3e main Profile
14 hours ago CI github-actions:test passed 11 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 4 ms 0c23747 main Run