Skip to content

Commit

Permalink
ut
Browse files Browse the repository at this point in the history
  • Loading branch information
marekbiczysko committed Dec 11, 2024
1 parent d9353a3 commit a87f49e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from django.template.loader import render_to_string

import openpyxl
from apps.payment.models import Payment
from openpyxl.utils import get_column_letter
from openpyxl.worksheet.worksheet import Worksheet

Expand All @@ -45,6 +44,7 @@
)
from hct_mis_api.apps.payment.delivery_mechanisms import DeliveryMechanismChoices
from hct_mis_api.apps.payment.models import (
Payment,
PaymentPlan,
PaymentVerification,
PaymentVerificationPlan,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def setUpTestData(cls) -> None:
cls.ticket = SensitiveGrievanceTicketWithoutExtrasFactory(
household=cls.household_1,
individual=cls.individuals_1[0],
payment_obj=cls.payment,
payment=cls.payment,
ticket=grievance_1,
)
SensitiveGrievanceTicketWithoutExtrasFactory(
Expand All @@ -141,7 +141,7 @@ def setUpTestData(cls) -> None:
SensitiveGrievanceTicketWithoutExtrasFactory(
household=cls.household_3,
individual=cls.individuals_3[0],
payment_obj=cls.payment_record2,
payment=cls.payment_record2,
ticket=grievance_3,
)
GrievanceComplaintTicketFactory.create_batch(5)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def setUpTestData(cls) -> None:

PaymentVerificationFactory(
payment_verification_plan=other_payment_plan_payment_verification,
payment_obj=other_payment_record,
payment=other_payment_record,
status=PaymentVerification.STATUS_PENDING,
)
EntitlementCardFactory(household=other_household)
Expand Down

0 comments on commit a87f49e

Please sign in to comment.