Skip to content

Commit 24c86e1

Browse files
committed
Use EncryptionTestCase instead of TestCase
1 parent 93d836b commit 24c86e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/encryption_/test_fields.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import datetime
22
from decimal import Decimal
33

4-
from django.test import TestCase
5-
64
from .models import (
75
Billing,
86
EncryptedBigIntegerTest,
@@ -45,7 +43,7 @@ def test_patient(self):
4543
self.assertEqual(patient.patient_record.billing.cc_number, "4111111111111111")
4644

4745

48-
class EncryptedFieldTests(TestCase):
46+
class EncryptedFieldTests(EncryptionTestCase):
4947
databases = {"default", "encrypted"}
5048

5149
def assertEquality(self, model_cls, val):

0 commit comments

Comments
 (0)