def default_organisation(self): return Organisation(None)
def organisations(self): return [ Organisation(organisation) for organisation in self.orgs_and_services['organisations'] ]
def default_organisation(self): return Organisation( organisations_client.get_organisation_by_domain(self.email_domain) )
def test_organisation_billing_details(purchase_order_number, expected_result): organisation = Organisation( organisation_json(purchase_order_number=purchase_order_number)) assert organisation.billing_details == expected_result
def organisation(self): return Organisation( organisations_client.get_service_organisation(self.id))