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

RegisterAppTests::test_raises_with_status_code_on_429

First seen 4 months, 2 weeks ago in 553d048
CI github-actions:test 11 runs
Average
39 ms
median 3 ms
max 401 ms
Phases
Setup 1 ms Call 2 ms Teardown 36 ms
Categories
Other (DB schema, Unsampled, Mocking, pytest, ...) 39 ms

1 database queries per run

Needs 2 KB of memory (max 8 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Hide pytest frames
call1 ms49.7%
CallInfo.from_call_pytest/runner.py:3611 ms49.7%
call_and_report.<locals>.<lambda>_pytest/runner.py:2501 ms49.7%
HookCaller.__call__pluggy/_hooks.py:5121 ms49.7%
PluginManager._hookexecpluggy/_manager.py:1201 ms49.7%
_multicallpluggy/_callers.py:1211 ms49.7%
pytest_runtest_call_pytest/runner.py:1841 ms49.7%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6141 ms49.7%
SimpleTestCase.__call__django/test/testcases.py:3141 ms49.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3691 ms49.7%
TestCase.__call__<stdlib>/unittest/case.py:7471 ms49.7%
TestCase.run<stdlib>/unittest/case.py:6911 ms49.7%
TestCase._callTestMethod<stdlib>/unittest/case.py:6371 ms49.7%
_patch.decorate_callable.<locals>.patched<stdlib>/unittest/mock.py:14361 ms49.7%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2031 ms49.7%
_patch.decoration_helper<stdlib>/unittest/mock.py:1418 arg = exit_stack.enter_context(patching)1 ms49.7%
_BaseExitStack.enter_context<stdlib>/contextlib.py:5941 ms49.7%
_patch.__enter__<stdlib>/unittest/mock.py:15721 ms49.7%
MagicMixin.__init__<stdlib>/unittest/mock.py:21861 ms49.7%
MagicMixin._mock_set_magics<stdlib>/unittest/mock.py:22091 ms49.7%
Estimated from 1 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Fixtures

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

Biggest pieces of work

call decoration_helper
<stdlib>/unittest/mock.py:1418
1 ms

Reliability

12 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 12 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 3 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 1 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 3 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 4 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 2 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 3 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 2 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 1 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 7 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 401 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 5 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 0.93 ms 0c23747 main Run