Add nosec comment to ignore lint test on fixture

This commit is contained in:
igorkorenfeld 2023-04-06 14:58:39 -04:00
parent c69bc75115
commit aa3fc6df62
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -143,7 +143,8 @@ class DomainApplicationFixture:
da.federal_agency = (
app["federal_agency"]
if "federal_agency" in app
else random.choice(DomainApplication.AGENCIES)
# Random choice of agency for selects, used as placeholders for testing.
else random.choice(DomainApplication.AGENCIES) # nosec
)
da.federal_type = (