def test_get_insurance_text(self):
     self.assertIsNone(
         DataHelper.get_insurance_text(
             InsuranceType.objects.get(pk=0),  # 不明
             2,
             15000,
             TaxType.objects.get(pk=1),  # 税別
         ), )
     self.assertIsNone(
         DataHelper.get_insurance_text(
             InsuranceType.objects.get(pk=9),  # 指定無し
             2,
             15000,
             TaxType.objects.get(pk=1),  # 税別
         ), )
     self.assertEqual(
         DataHelper.get_insurance_text(
             InsuranceType.objects.get(pk=2),  # オーナー指定
             2,
             15000,
             TaxType.objects.get(pk=1),  # 税別
         ),
         '2年 15,000円(税別)',
     )
 def insurance_text(self):
     return DataHelper.get_insurance_text(self.insurance_type,
                                          self.insurance_years,
                                          self.insurance_fee,
                                          self.insurance_fee_tax_type)