change assertEquals to assertEqual

According to http://docs.python.org/2/library/unittest.html
assertEquals is a deprecated alias of assertEqual.

Change-Id: I4030e9f9b184af60eb9253b3a1d7e1cc929d502d
This commit is contained in:
Christian Berendt 2013-10-24 07:34:40 +02:00
parent 39f6bba5c4
commit 484ffc5326

View File

@ -397,7 +397,7 @@ class TestLoadbalancerPlugin(
data,
member['member']['id'])
raw_res = req.get_response(self.ext_api)
self.assertEquals(web_exc.HTTPOk.code, raw_res.status_int)
self.assertEqual(web_exc.HTTPOk.code, raw_res.status_int)
res = self.deserialize(self.fmt, raw_res)
for k, v in keys:
self.assertEqual(res['member'][k], v)