Project

General

Profile

Actions

Bug #80333

closed
KH KH

qa: Remove deprecated assertEquals

Bug #80333: qa: Remove deprecated assertEquals

Added by Kotresh Hiremath Ravishankar 3 months ago. Updated 29 days ago.

Status:
Backporting
Priority:
Normal
Category:
Correctness/Safety
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle, squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
qa
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-1065-ge84c56288f
Released In:
v21.2.0~2686
Upkeep Timestamp:
2026-11-04T01:11:27+00:00

Description

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.


Related issues 2 (1 open — 1 closed)

Copied to CephFS - Backport #80338: squid: qa: Remove deprecated assertEqualsFix Under ReviewKotresh Hiremath Ravishankar

Actions
Copied to CephFS - Backport #80339: tentacle: qa: Remove deprecated assertEqualsResolvedKotresh Hiremath Ravishankar

Actions

UB Updated by Upkeep Bot 3 months ago Actions #1

  • Copied to Backport #80338: squid: qa: Remove deprecated assertEquals added

UB Updated by Upkeep Bot 3 months ago Actions #2

  • Copied to Backport #80339: tentacle: qa: Remove deprecated assertEquals added

UB Updated by Upkeep Bot 3 months ago Actions #3

  • Status changed from Pending Backport to Backporting
  • Merge Commit set to e84c56288f94933264b358c8b37537bde6a3773f
  • Fixed In set to v20.3.0-1065-ge84c56288f
  • Upkeep Timestamp set to 2026-09-08T00:46:08+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #4

  • Released In set to v21.2.0~2685
  • Upkeep Timestamp changed from 2026-09-08T00:46:08+00:00 to 2026-10-24T01:24:31+00:00

UB Updated by Upkeep Bot 29 days ago Actions #5

  • Released In changed from v21.2.0~2685 to v21.2.0~2686
  • Upkeep Timestamp changed from 2026-10-24T01:24:31+00:00 to 2026-11-04T01:11:27+00:00
Actions

Also available in: PDF Atom