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

TestSubscribePages::test_subscribe_uses_tailwind_layout

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
134 ms
median 111 ms
max 313 ms
Phases
Setup 2 ms Call 128 ms Teardown 4 ms
Categories
Database 9 ms App code 0.24 ms Other (Libraries, Templates, pytest, Unsampled, ...) 125 ms

6 database queries per run

Needs 937 KB of memory (max 1 MB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call79 ms93.2%
TestSubscribePages.test_subscribe_uses_tailwind_layoutposts/tests.py:9 response = self.client.get(reverse("posts_subscribe"))55 ms65.2%
Client.getdjango/test/client.py:113355 ms65.2%
RequestFactory.getdjango/test/client.py:47555 ms65.2%
RequestFactory.genericdjango/test/client.py:67155 ms65.2%
Client.requestdjango/test/client.py:109155 ms65.2%
ClientHandler.__call__django/test/client.py:17355 ms65.2%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6355 ms65.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10455 ms65.2%
WhiteNoise.add_fileswhitenoise/base.py:10855 ms65.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12055 ms65.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13147 ms55.9%
WhiteNoise.get_static_filewhitenoise/base.py:21747 ms55.9%
StaticFile.__init__whitenoise/responders.py:7324 ms28.0%
StaticFile.get_headerswhitenoise/responders.py:1768 ms9.3%
formatdate<stdlib>/email/utils.py:2668 ms9.3%
StaticFile.get_headerswhitenoise/responders.py:1788 ms9.3%
parsedate<stdlib>/email/_parseaddr.py:1858 ms9.3%
StaticFile.__init__whitenoise/responders.py:7716 ms18.6%
StaticFile.get_alternativeswhitenoise/responders.py:2078 ms9.3%
Headers.items<stdlib>/wsgiref/headers.py:1398 ms9.3%
StaticFile.__init__whitenoise/responders.py:768 ms9.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1888 ms9.3%
Headers.__contains__<stdlib>/wsgiref/headers.py:878 ms9.3%
Headers.get<stdlib>/wsgiref/headers.py:1068 ms9.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()16 ms18.6%
TestCase._fixture_teardowndjango/test/testcases.py:150016 ms18.6%
TestCase._rollback_atomicsdjango/test/testcases.py:140816 ms18.6%
Atomic.__exit__django/db/transaction.py:29816 ms18.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2616 ms18.6%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:43116 ms18.6%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:37516 ms18.6%
CursorWrapper.executedjango/db/backends/utils.py:7916 ms18.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9216 ms18.6%
CursorWrapper._executedjango/db/backends/utils.py:10316 ms18.6%
Cursor.executepsycopg/cursor.py:11316 ms18.6%
Connection.waitpsycopg/connection.py:49516 ms18.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:20616 ms18.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:28616 ms18.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:7816 ms18.6%
teardown5 ms5.6%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()5 ms5.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms5.4%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3555 ms5.4%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4085 ms5.4%
Connection.closepsycopg/connection.py:2015 ms5.4%
Estimated from 44 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

posts/tests.py:9
response = self.client.get(reverse("posts_subscribe"))
TestSubscribePages.test_subscribe_uses_tailwind_layout · Libraries
55 ms

Fixtures

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

Database

6 queries · 1 ms
No repeated queries.

Biggest pieces of work

call test body
posts/tests.py:9
55 ms
call _post_teardown
django/test/testcases.py:1243
16 ms
call pytest internals 8 ms
teardown tearDownClass
django/test/testcases.py:1458
5 ms
teardown pytest internals 0.14 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 84 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 50 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 132 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 313 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 84 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 111 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 82 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 63 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 173 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 115 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 269 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 84 ms 0c23747 main Run