Org Web Adapter

dailies/2023-01-27.org

ID
17eb002f-9814-480c-9e89-83bb6612e054

2023-01-27 - Friday

Tasks

DONE Complete life insurance forms

chore

CLOSED:

DONE Figure out why tests are broken on

sc216960sureengineeringtests

CLOSED:

- Note taken on

Figured this one out after a long time. Turns out I needed to use the

`doc_builder_cancelled_policy` fixture to build a cancelled policy with the

expected billingscheduleitem

:LOGBOOK:

CLOCK: -- => 4:34

:END:

The error:

#+begin_src shell

_ ERROR at setup of test_multiple_policy_docs_when_cancelling_dispatch_cancel_email _

file /Users/powellc/src/github.com/sureapp/platform-porchpals/tests/apps/protections/verticals/porchcare/email_manager/test_dipatchers.py, line 265

@patch(EMAILS_MODULE + ".PorchcareWelcomeEmail.send")

@patch(EMAILS_MODULE + ".PorchcareWelcomeEmail.set_template_model")

@patch(EMAILS_MODULE + ".PorchcareNoticeOfCancellationEmail.send")

@patch(EMAILS_MODULE + ".PorchcareNoticeOfCancellationEmail.set_template_model")

def test_multiple_policy_docs_when_cancelling_dispatch_cancel_email(

E fixture 'billing_schedule_itme' not found

> use 'pytest --fixtures [testpath]' for help on them.

#+end_src

Timeline