示例#1
0
 def default_organisation(self):
     return Organisation(None)
示例#2
0
 def organisations(self):
     return [
         Organisation(organisation)
         for organisation in self.orgs_and_services['organisations']
     ]
示例#3
0
 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
示例#5
0
 def organisation(self):
     return Organisation(
         organisations_client.get_service_organisation(self.id))