From b1dfa315487c2da399988775e5de39354f686b0c Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Wed, 11 Dec 2019 21:06:59 +0530 Subject: [py2to3] Add py3 support for tests in 'tests/functional/afr' Change-Id: Ic14be81f1cd42c470d2bb5c15505fc1bc168a393 Signed-off-by: Valerii Ponomarov --- .../afr/heal/test_no_glustershd_with_distribute.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/functional/afr/heal') diff --git a/tests/functional/afr/heal/test_no_glustershd_with_distribute.py b/tests/functional/afr/heal/test_no_glustershd_with_distribute.py index fdf818abd..d2b43bfe3 100644 --- a/tests/functional/afr/heal/test_no_glustershd_with_distribute.py +++ b/tests/functional/afr/heal/test_no_glustershd_with_distribute.py @@ -144,10 +144,10 @@ class SelfHealDaemonProcessTestsWithMultipleVolumes(GlusterBaseClass): self.assertFalse(ret, ("Self heal daemon process is still running " "after stopping all volumes ")) for node in pids: - self.assertEquals(pids[node][0], -1, ("Self heal daemon is still " - "running on node %s even " - "after stoppong all " - "volumes" % node)) + self.assertEqual(pids[node][0], -1, ("Self heal daemon is still " + "running on node %s even " + "after stoppong all " + "volumes" % node)) g.log.info("EXPECTED: No self heal daemon process is " "running after stopping all volumes") @@ -169,9 +169,9 @@ class SelfHealDaemonProcessTestsWithMultipleVolumes(GlusterBaseClass): self.assertFalse(ret, ("Self heal daemon process is still running " "after stopping all volumes ")) for node in pids: - self.assertEquals(pids[node][0], -1, ("Self heal daemon is still " - "running on node %s even " - "after stopping all " - "volumes" % node)) + self.assertEqual(pids[node][0], -1, ("Self heal daemon is still " + "running on node %s even " + "after stopping all " + "volumes" % node)) g.log.info("EXPECTED: No self heal daemon process is running " "after stopping all volumes") -- cgit