Skip to content

Commit bb79a4e

Browse files
committed
Skip schema tests if encryption not supported
1 parent 959c96e commit bb79a4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/encryption_/test_schema.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
from django.db import connections
2+
from django.test import skipUnlessDBFeature
23

34
from . import models
45
from .test_base import EncryptionTestCase
56

67

8+
@skipUnlessDBFeature("supports_queryable_encryption")
79
class SchemaTests(EncryptionTestCase):
810
# Expected encrypted fields map per model
911
expected_map = {

0 commit comments

Comments
 (0)