summaryrefslogtreecommitdiff
path: root/python/samba/tests/samba_tool/forest.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/samba/tests/samba_tool/forest.py')
-rw-r--r--python/samba/tests/samba_tool/forest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/tests/samba_tool/forest.py b/python/samba/tests/samba_tool/forest.py
index 8817636bd63..f5cb3c03126 100644
--- a/python/samba/tests/samba_tool/forest.py
+++ b/python/samba/tests/samba_tool/forest.py
@@ -50,7 +50,7 @@ class ForestCmdTestCase(SambaToolCmdTest):
os.environ["DC_PASSWORD"]))
self.assertCmdSuccess(result, out, err)
- self.assertEquals(err, "", "Shouldn't be any error messages")
+ self.assertEqual(err, "", "Shouldn't be any error messages")
self.assertIn("dsheuristics: <NO VALUE>", out)
def test_modify_dsheuristics(self):
@@ -63,5 +63,5 @@ class ForestCmdTestCase(SambaToolCmdTest):
os.environ["DC_PASSWORD"]))
self.assertCmdSuccess(result, out, err)
- self.assertEquals(err, "", "Shouldn't be any error messages")
+ self.assertEqual(err, "", "Shouldn't be any error messages")
self.assertIn("set dsheuristics: 0000002", out)