mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
revert stray fixtures experiment
This commit is contained in:
parent
76a660a4c9
commit
5c48277e7b
1 changed files with 0 additions and 1 deletions
|
@ -74,7 +74,6 @@ class PortfolioFixture:
|
||||||
if not portfolio.federal_agency:
|
if not portfolio.federal_agency:
|
||||||
if portfolio_dict.get("federal_agency") is not None:
|
if portfolio_dict.get("federal_agency") is not None:
|
||||||
portfolio.federal_agency, _ = FederalAgency.objects.get_or_create(name=portfolio_dict["federal_agency"])
|
portfolio.federal_agency, _ = FederalAgency.objects.get_or_create(name=portfolio_dict["federal_agency"])
|
||||||
portfolio.federal_agency.federal_type, _ = Federal_type.objects.get_or_create(name=portfolio_dict["federal_agency"])
|
|
||||||
else:
|
else:
|
||||||
federal_agencies = FederalAgency.objects.all()
|
federal_agencies = FederalAgency.objects.all()
|
||||||
# Random choice of agency for selects, used as placeholders for testing.
|
# Random choice of agency for selects, used as placeholders for testing.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue