revert stray fixtures experiment

This commit is contained in:
CocoByte 2025-03-05 16:15:42 -07:00
parent 76a660a4c9
commit 5c48277e7b
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -74,7 +74,6 @@ class PortfolioFixture:
if not portfolio.federal_agency:
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.federal_type, _ = Federal_type.objects.get_or_create(name=portfolio_dict["federal_agency"])
else:
federal_agencies = FederalAgency.objects.all()
# Random choice of agency for selects, used as placeholders for testing.