mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 10:46:06 +02:00
Add nosec comment to ignore lint test on fixture
This commit is contained in:
parent
c69bc75115
commit
aa3fc6df62
1 changed files with 2 additions and 1 deletions
|
@ -143,7 +143,8 @@ class DomainApplicationFixture:
|
||||||
da.federal_agency = (
|
da.federal_agency = (
|
||||||
app["federal_agency"]
|
app["federal_agency"]
|
||||||
if "federal_agency" in app
|
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 = (
|
da.federal_type = (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue