aboutsummaryrefslogtreecommitdiff
path: root/tests/test_downscoped.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_downscoped.py')
-rw-r--r--tests/test_downscoped.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_downscoped.py b/tests/test_downscoped.py
index 795ec29..9ca95f5 100644
--- a/tests/test_downscoped.py
+++ b/tests/test_downscoped.py
@@ -669,7 +669,9 @@ class TestCredentials(object):
# Set the expiration to one second more than now plus the clock skew
# accommodation. These credentials should be valid.
credentials.expiry = (
- datetime.datetime.min + _helpers.CLOCK_SKEW + datetime.timedelta(seconds=1)
+ datetime.datetime.min
+ + _helpers.REFRESH_THRESHOLD
+ + datetime.timedelta(seconds=1)
)
assert credentials.valid