From 44a5b75aac5d5aabd3f9d5f71b3d4451fe8daaf9 Mon Sep 17 00:00:00 2001 From: delcroip Date: Mon, 29 Apr 2024 06:28:13 +0200 Subject: [PATCH] create ph_insuree wo existing policy --- policyholder/tests/helpers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/policyholder/tests/helpers.py b/policyholder/tests/helpers.py index 1053f4c..8bb70a2 100644 --- a/policyholder/tests/helpers.py +++ b/policyholder/tests/helpers.py @@ -41,10 +41,10 @@ def create_test_policy_holder_insuree(policy_holder=None, insuree=None, contribu insuree = create_test_insuree() if not contribution_plan_bundle: contribution_plan_bundle = create_test_contribution_plan_bundle() - if not last_policy: - last_policy = create_test_policy( - product=create_test_product("TestCode", custom_props={"insurance_period": 12, }), - insuree=insuree) + #if not last_policy: + # last_policy = create_test_policy( + # product=create_test_product("TestCode", custom_props={"insurance_period": 12, }), + # insuree=insuree) user = __get_or_create_simple_policy_holder_user()