def raises_country_code(self, number): chivato.check_vat(number)
def validation(self, vat_number, expected_result): validation_result = chivato.check_vat(vat_number) assert_that(validation_result, is_(expected_result), vat_number)