Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libcloud/test/common/test_openstack_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def test_token_expiration_and_force_reauthentication(self):
osa.auth_token = None
osa.auth_token_expires = YESTERDAY

mocked_auth_method.call_count = 0
mocked_auth_method.reset_mock()
self.assertEqual(mocked_auth_method.call_count, 0)

for i in range(0, count):
Expand All @@ -246,7 +246,7 @@ def test_token_expiration_and_force_reauthentication(self):
# No force reauth, valid / non-expired token
osa.auth_token = None

mocked_auth_method.call_count = 0
mocked_auth_method.reset_mock()
self.assertEqual(mocked_auth_method.call_count, 0)

for i in range(0, count):
Expand All @@ -264,7 +264,7 @@ def test_token_expiration_and_force_reauthentication(self):
)
osa.auth_token = None

mocked_auth_method.call_count = 0
mocked_auth_method.reset_mock()
self.assertEqual(mocked_auth_method.call_count, 0)

for i in range(0, count):
Expand Down