Skip to content

Commit 701309e

Browse files
authored
Merge pull request #10 from openimis/release/25.04
MERGING release/25.04 into develop
2 parents 425739b + ee8a5c7 commit 701309e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

claim_sampling/tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from unittest import mock
44

55
from claim.services import ClaimSubmitService
6-
from claim.tests.tests import DummyContext
76
from core.test_helpers import create_test_interactive_user, create_test_officer
87
from location.test_helpers import create_test_location, create_test_health_facility, create_test_village
98
from insuree.test_helpers import create_test_insuree
@@ -20,6 +19,8 @@
2019

2120
from .services import ClaimSamplingService
2221
import core
22+
from core.models.openimis_graphql_test_case import openIMISGraphQLTestCase, BaseTestContext as DummyContext
23+
2324
from graphene import Schema
2425
from graphene_django.utils.testing import GraphQLTestCase
2526
from claim_sampling import schema as claim_schema
@@ -29,7 +30,7 @@
2930
from medical_pricelist.test_helpers import add_service_to_hf_pricelist, add_item_to_hf_pricelist
3031
from product.models import ProductItemOrService
3132
from datetime import date, timedelta, datetime
32-
class ClaimSubmitServiceTestCase(GraphQLTestCase):
33+
class ClaimSubmitServiceTestCase(openIMISGraphQLTestCase):
3334
GRAPHQL_URL = f'/{settings.SITE_ROOT()}graphql'
3435
# This is required by some version of graphene but is never used. It should be set to the schema but the import
3536
# is shown as an error in the IDE, so leaving it as True.

0 commit comments

Comments
 (0)