pytests: heed assertEquals deprecation warning en-masse
[samba.git] / python / samba / tests / samba_tool / fsmo.py
index 674cc0e32dc706bba9b6df48b67cfc02202c8dfb..29fe7bfe08a68ef9470bbb5cf04d22e828bed389 100644 (file)
@@ -28,7 +28,7 @@ class FsmoCmdTestCase(SambaToolCmdTest):
         (result, out, err) = self.runsubcmd("fsmo", "show")
 
         self.assertCmdSuccess(result, out, err)
-        self.assertEquals(err, "", "Shouldn't be any error messages")
+        self.assertEqual(err, "", "Shouldn't be any error messages")
 
         # Check that the output is sensible
         samdb = self.getSamDB("-H", "ldap://%s" % os.environ["SERVER"],