diff --git a/iati_datastore/iatilib/test/test_serializers/test_csv_activities.py b/iati_datastore/iatilib/test/test_serializers/test_csv_activities.py index 78332bc3..25c9ed5d 100644 --- a/iati_datastore/iatilib/test/test_serializers/test_csv_activities.py +++ b/iati_datastore/iatilib/test/test_serializers/test_csv_activities.py @@ -360,7 +360,7 @@ def test_default_finance_type(self): def test_default_flow_type(self): data = self.process([fac.ActivityFactory.build( - default_flow_type=cl.FlowType.private_development_finance + default_flow_type=cl.FlowType.private_grants )]) self.assertField({'default-flow-type-code': "30"}, data[0]) diff --git a/iati_datastore/iatilib/test/test_serializers/test_csv_transactions.py b/iati_datastore/iatilib/test/test_serializers/test_csv_transactions.py index 0d175fb6..d8d79ceb 100644 --- a/iati_datastore/iatilib/test/test_serializers/test_csv_transactions.py +++ b/iati_datastore/iatilib/test/test_serializers/test_csv_transactions.py @@ -601,7 +601,7 @@ def test_default_finance_type(self): def test_default_flow_type(self): activity = fac.ActivityFactory.build( - default_flow_type=cl.FlowType.private_development_finance + default_flow_type=cl.FlowType.private_grants ) data = self.process([ fac.TransactionFactory.build(activity=activity) diff --git a/iati_datastore/iatilib/test/test_serializers/test_json.py b/iati_datastore/iatilib/test/test_serializers/test_json.py index 9d51a1e9..882ba101 100644 --- a/iati_datastore/iatilib/test/test_serializers/test_json.py +++ b/iati_datastore/iatilib/test/test_serializers/test_json.py @@ -27,7 +27,7 @@ def test_transaction_json(self): value_amount=411900, value_date=datetime(2012, 12, 31), date=datetime(2012, 12, 31), - flow_type=codelists.FlowType.private_development_finance, + flow_type=codelists.FlowType.private_grants, finance_type=codelists.FinanceType.standard_grant, aid_type=codelists.AidType.general_budget_support, disbursement_channel=codelists.DisbursementChannel.aid_in_kind_donors_manage_funds_themselves,