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:
parent
78b26a6e4e
commit
63dbd1a3b6
@ -244,7 +244,7 @@ class MeteringViewTests(test.APITestCase, test.BaseAdminViewTests):
|
|||||||
self.assertEqual(d.get('name'), expected_names.pop())
|
self.assertEqual(d.get('name'), expected_names.pop())
|
||||||
self.assertEqual(d.get('unit'), '')
|
self.assertEqual(d.get('unit'), '')
|
||||||
|
|
||||||
self.assertEquals(data.get('settings'), {})
|
self.assertEqual(data.get('settings'), {})
|
||||||
|
|
||||||
@test.create_stubs({api.keystone: ('tenant_list',)})
|
@test.create_stubs({api.keystone: ('tenant_list',)})
|
||||||
def test_stats_for_line_chart(self):
|
def test_stats_for_line_chart(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user