diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-12-11 21:06:59 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-12-18 10:22:20 +0000 |
commit | b1dfa315487c2da399988775e5de39354f686b0c (patch) | |
tree | c5cefcd8749b3af430763e41ea01154608702cc2 /tests/functional/afr/heal/test_no_glustershd_with_distribute.py | |
parent | e25ca323395f20232ca2e54ea6c966f91ea54e7e (diff) |
[py2to3] Add py3 support for tests in 'tests/functional/afr'
Change-Id: Ic14be81f1cd42c470d2bb5c15505fc1bc168a393
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/afr/heal/test_no_glustershd_with_distribute.py')
-rw-r--r-- | tests/functional/afr/heal/test_no_glustershd_with_distribute.py | 16 |
1 files changed, 8 insertions, 8 deletions
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") |