mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Replace deprecated assertEquals with assertEqual
assertEquals is deprecated since Python 2.7 and 3.2.
This commit is contained in:
@@ -1674,7 +1674,7 @@ POLICYGROUPS_DIR="%s/templates"
|
||||
|
||||
# verify we get the same manifest back
|
||||
man_new = easyp.gen_manifest(params)
|
||||
self.assertEquals(m, man_new)
|
||||
self.assertEqual(m, man_new)
|
||||
|
||||
def test_gen_manifest_ubuntu(self):
|
||||
'''Test gen_manifest (ubuntu)'''
|
||||
@@ -1714,7 +1714,7 @@ POLICYGROUPS_DIR="%s/templates"
|
||||
|
||||
# verify we get the same manifest back
|
||||
man_new = easyp.gen_manifest(params)
|
||||
self.assertEquals(m, man_new)
|
||||
self.assertEqual(m, man_new)
|
||||
|
||||
def test_parse_manifest_no_version(self):
|
||||
'''Test parse_manifest (vendor with no version)'''
|
||||
|
Reference in New Issue
Block a user