You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by mi...@apache.org on 2026/02/17 07:55:53 UTC

(libcloud) branch fix_py313_test created (now c2bd6f4c0)

This is an automated email from the ASF dual-hosted git repository.

micafer pushed a change to branch fix_py313_test
in repository https://gitbox.apache.org/repos/asf/libcloud.git


      at c2bd6f4c0 Fix error in py313

This branch includes the following new commits:

     new c2bd6f4c0 Fix error in py313

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(libcloud) 01/01: Fix error in py313

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

micafer pushed a commit to branch fix_py313_test
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit c2bd6f4c096982d89a2e99114697b0ff1fa80176
Author: Miguel Caballer <mi...@upv.es>
AuthorDate: Tue Feb 17 08:55:42 2026 +0100

    Fix error in py313
---
 libcloud/test/common/test_openstack_identity.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libcloud/test/common/test_openstack_identity.py b/libcloud/test/common/test_openstack_identity.py
index 480112d0e..9e74970c9 100644
--- a/libcloud/test/common/test_openstack_identity.py
+++ b/libcloud/test/common/test_openstack_identity.py
@@ -235,7 +235,7 @@ class OpenStackIdentityConnectionTestCase(unittest.TestCase):
         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):
@@ -246,7 +246,7 @@ class OpenStackIdentityConnectionTestCase(unittest.TestCase):
         # 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):
@@ -264,7 +264,7 @@ class OpenStackIdentityConnectionTestCase(unittest.TestCase):
         )
         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):