From 74182b9a52a7cbfb57ed9db08bf5da6ca538d92c Mon Sep 17 00:00:00 2001 From: CocoByte Date: Fri, 24 Jan 2025 15:06:46 -0700 Subject: [PATCH] use users.Count() for domain Request fixtures --- src/registrar/fixtures/fixtures_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/fixtures/fixtures_requests.py b/src/registrar/fixtures/fixtures_requests.py index c42b83ea8..d55b1b008 100644 --- a/src/registrar/fixtures/fixtures_requests.py +++ b/src/registrar/fixtures/fixtures_requests.py @@ -325,7 +325,7 @@ class DomainRequestFixture: @classmethod def _create_domain_requests(cls, users): # noqa: C901 """Creates DomainRequests given a list of users.""" - total_domain_requests_to_make = 10000 + total_domain_requests_to_make = users.count() # 100000 # Check if the database is already populated with the desired # number of entries.