trival: deprecate assertEquals
Use assertEqual instead. Change-Id: I9d9df6f5bf117671092f969984e6f39e40b76981
This commit is contained in:
parent
0b3358b85f
commit
5c62c46b25
@ -32,7 +32,7 @@ class InterfaceModelTestCase(TestCase):
|
|||||||
"""
|
"""
|
||||||
def test_ifname(self):
|
def test_ifname(self):
|
||||||
iface = models.Interface(ifname="em0")
|
iface = models.Interface(ifname="em0")
|
||||||
self.assertEquals(iface.ifname, "em0")
|
self.assertEqual(iface.ifname, "em0")
|
||||||
|
|
||||||
def test_to_dict(self):
|
def test_to_dict(self):
|
||||||
iface = models.Interface()
|
iface = models.Interface()
|
||||||
|
Loading…
Reference in New Issue
Block a user