File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ def test_token_expiration_and_force_reauthentication(self):
235235 osa .auth_token = None
236236 osa .auth_token_expires = YESTERDAY
237237
238- mocked_auth_method .call_count = 0
238+ mocked_auth_method .reset_mock ()
239239 self .assertEqual (mocked_auth_method .call_count , 0 )
240240
241241 for i in range (0 , count ):
@@ -246,7 +246,7 @@ def test_token_expiration_and_force_reauthentication(self):
246246 # No force reauth, valid / non-expired token
247247 osa .auth_token = None
248248
249- mocked_auth_method .call_count = 0
249+ mocked_auth_method .reset_mock ()
250250 self .assertEqual (mocked_auth_method .call_count , 0 )
251251
252252 for i in range (0 , count ):
@@ -264,7 +264,7 @@ def test_token_expiration_and_force_reauthentication(self):
264264 )
265265 osa .auth_token = None
266266
267- mocked_auth_method .call_count = 0
267+ mocked_auth_method .reset_mock ()
268268 self .assertEqual (mocked_auth_method .call_count , 0 )
269269
270270 for i in range (0 , count ):
You can’t perform that action at this time.
0 commit comments