File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ def test_fetch_access_token(self):
115115 authorization_response = "https://i.b/?code=hello" ,
116116 )
117117 # Times should be close
118- approx_expires_at = time .time () + 3600
118+ approx_expires_at = round ( time .time () ) + 3600
119119 actual_expires_at = token .pop ("expires_at" )
120120 self .assertAlmostEqual (actual_expires_at , approx_expires_at , places = 2 )
121121
@@ -289,7 +289,7 @@ def test_fetch_access_token(self):
289289 authorization_response = "https://i.b/?code=hello" ,
290290 )
291291
292- approx_expires_at = time .time () + 86400
292+ approx_expires_at = round ( time .time () ) + 86400
293293 actual_expires_at = token .pop ("expires_at" )
294294 self .assertAlmostEqual (actual_expires_at , approx_expires_at , places = 2 )
295295
You can’t perform that action at this time.
0 commit comments