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 f551606 commit 8f539cbCopy full SHA for 8f539cb
tests/encryption_/test_fields.py
@@ -95,15 +95,19 @@ def test_big_integer(self):
95
self.assertRange(EncryptedBigIntegerTest, low=100, high=200, threshold=150)
96
97
def test_date(self):
98
- d1 = datetime.date(2024, 6, 1)
99
- d2 = datetime.date(2024, 6, 10)
100
- self.assertRange(EncryptedDateTest, low=d1, high=d2, threshold=datetime.date(2024, 6, 5))
+ self.assertRange(
+ EncryptedDateTest,
+ low=datetime.date(2024, 6, 1),
101
+ high=datetime.date(2024, 6, 10),
102
+ threshold=datetime.date(2024, 6, 5),
103
+ )
104
105
def test_datetime(self):
- dt1 = datetime.datetime(2024, 6, 1, 12, 0)
- dt2 = datetime.datetime(2024, 6, 2, 12, 0)
106
self.assertRange(
- EncryptedDateTimeTest, low=dt1, high=dt2, threshold=datetime.datetime(2024, 6, 2, 0, 0)
107
+ EncryptedDateTimeTest,
108
+ low=datetime.datetime(2024, 6, 1, 12, 0),
109
+ high=datetime.datetime(2024, 6, 2, 12, 0),
110
+ threshold=datetime.datetime(2024, 6, 2, 0, 0),
111
)
112
113
def test_decimal(self):
0 commit comments