From: Christian Berendt Date: Thu, 24 Oct 2013 05:34:40 +0000 (+0200) Subject: change assertEquals to assertEqual X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=10639b5b67c5c961122c59c437ddf5da02808f08;p=openstack-build%2Fneutron-build.git change assertEquals to assertEqual According to http://docs.python.org/2/library/unittest.html assertEquals is a deprecated alias of assertEqual. Change-Id: I4030e9f9b184af60eb9253b3a1d7e1cc929d502d --- diff --git a/neutron/tests/unit/nicira/test_lbaas_plugin.py b/neutron/tests/unit/nicira/test_lbaas_plugin.py index 94ed0bb0e..87f67dbec 100644 --- a/neutron/tests/unit/nicira/test_lbaas_plugin.py +++ b/neutron/tests/unit/nicira/test_lbaas_plugin.py @@ -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)