From 6ba1acd7d3dd004a5f214ff79eb7ea4e27074018 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Sat, 11 Apr 2026 14:19:51 -0700 Subject: [PATCH] fix(profiling): fix stale docstring and add module_db docstring in doclist test --- test_doclist_profile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_doclist_profile.py b/test_doclist_profile.py index 551dba8f1..cd5f5f716 100644 --- a/test_doclist_profile.py +++ b/test_doclist_profile.py @@ -69,6 +69,7 @@ SEED = 42 @pytest.fixture(scope="module") def module_db(django_db_setup, django_db_blocker): + """Unlock the DB for the whole module (module-scoped).""" with django_db_blocker.unblock(): yield @@ -77,7 +78,7 @@ def module_db(django_db_setup, django_db_blocker): def doclist_corpus(module_db): """ Build a 5 000-document corpus with tags, notes, custom fields, correspondents, - doc types, and storage paths. All objects are deleted on teardown. + and doc types. All objects are deleted on teardown. """ fake = Faker() Faker.seed(SEED)