We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071192e commit b2a0534Copy full SHA for b2a0534
tests/backend_/test_features.py
@@ -47,9 +47,13 @@ def mocked_command(command):
47
48
49
class SupportsQueryableEncryptionTests(TestCase):
50
- # TODO: Add setUp? `del connection.features.supports_queryable_encryption` returns
51
- # `AttributeError: 'DatabasesFeatures' object has no attribute 'supports_queryable_encryption'`
52
- # even though it does have it upon inspection in `pdb`.
+ def setUp(self):
+ # Clear the cached property.
+ connection.features.__dict__.pop("supports_queryable_encryption", None)
53
+
54
+ def tearDown(self):
55
56
57
def test_supports_queryable_encryption(self):
58
def mocked_command(command):
59
if command == "buildInfo":
0 commit comments