]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: replace deprecated assertEquals with assertEqual
authorEmmanuel Ferdman <emmanuelferdman@gmail.com>
Fri, 16 May 2025 11:28:30 +0000 (04:28 -0700)
committerEmmanuel Ferdman <emmanuelferdman@gmail.com>
Sun, 18 May 2025 17:05:51 +0000 (10:05 -0700)
commit3572da7244172db18e30c3937dbfe2edc6feeb53
tree4945eab06aef1a6de6bdf2581eafd1727ae07293
parent556240718fb97ce3b0631510db2f7e342663864d
qa/cephfs: replace deprecated assertEquals with assertEqual

The unittest.TestCase.assertEquals() method is deprecated in Python 2.7
and emits a DeprecationWarning. This commit replaces all instances of
assertEquals() with the recommended assertEqual() in the cephfs test files
to resolve these warnings and ensure future compatibility.

This change addresses warnings such as:
DeprecationWarning: Please use assertEqual instead.

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
qa/tasks/cephfs/test_mirroring.py
qa/tasks/mgr/test_cache.py