Replace assertEquals() with assertEqual()

Fllow the hacking: http://docs.openstack.org/developer/hacking.
AssertEquals() logs a DeprecationWarning in Python 3.x,use
assertEqual() instead.This patch is to fix it.

Change-Id: I72f29a5f0858797140be20e3cad395a02b174bcb
Closes-Bug: #1600764
This commit is contained in:
liangjingtao 2016-07-11 18:53:02 +08:00
parent f68325fc48
commit c8a3964ab7

@ -48,7 +48,7 @@ class TestCallback(utils.TestCase):
except ImportError:
pass
else:
self.assertEquals(False, "No error raised")
self.assertEqual(False, "No error raised")
def test_multiple_drivers(self):
# The idea for this test was contributed by clayg: