change assertEquals to assertEqual

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

Change-Id: Id9ca3fd508396c202d658b224ca1e67f1a5e361c
This commit is contained in:
Christian Berendt 2013-10-24 07:35:51 +02:00
parent 78b26a6e4e
commit 63dbd1a3b6

View File

@ -244,7 +244,7 @@ class MeteringViewTests(test.APITestCase, test.BaseAdminViewTests):
self.assertEqual(d.get('name'), expected_names.pop())
self.assertEqual(d.get('unit'), '')
self.assertEquals(data.get('settings'), {})
self.assertEqual(data.get('settings'), {})
@test.create_stubs({api.keystone: ('tenant_list',)})
def test_stats_for_line_chart(self):