From 10639b5b67c5c961122c59c437ddf5da02808f08 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Thu, 24 Oct 2013 07:34:40 +0200 Subject: [PATCH] change assertEquals to assertEqual According to http://docs.python.org/2/library/unittest.html assertEquals is a deprecated alias of assertEqual. Change-Id: I4030e9f9b184af60eb9253b3a1d7e1cc929d502d --- neutron/tests/unit/nicira/test_lbaas_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2