Skip to content

Commit 0d54faa

Browse files
committed
Lint.
1 parent 61586d6 commit 0d54faa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

storage/tests/unit/test__signing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def test_w_max_age_int(self):
8383
when = dummy_utcnow + delta
8484
expiration = _utc_seconds(when)
8585
self.assertEqual(result, expiration)
86+
utcnow.assert_called_once_with()
8687

8788
def test_w_expiration_int(self):
8889
self.assertEqual(self._call_fut(123, None), 123)
@@ -181,7 +182,8 @@ def test_w_expiration_int_gt_seven_days(self):
181182

182183
with patch as utcnow:
183184
with self.assertRaises(ValueError):
184-
result = self._call_fut(expiration_seconds, None)
185+
self._call_fut(expiration_seconds, None)
186+
utcnow.assert_called_once_with()
185187

186188
def test_w_expiration_int(self):
187189
dummy_utcnow = datetime.datetime(2004, 8, 19, 0, 0, 0, 0)

0 commit comments

Comments
 (0)