Using assertEqual instead of assertEquals

This's defined in H234:
http://docs.openstack.org/developer/hacking/#python-3-x-compatibility

Change-Id: I965aa4670d7aa8ba8b0af1369235a225f88e164e
This commit is contained in:
Anh Tran
2016-09-27 13:32:02 +07:00
parent 3afd2cf7e5
commit e79983bff3

View File

@@ -54,7 +54,7 @@ class WhenTestingBarbicanCLI(test_client.BaseEntityResource):
def test_should_show_usage_with_no_args(self):
exit_code = self.barbican.run([])
self.assertEquals(1, exit_code)
self.assertEqual(1, exit_code)
self.assertIn('usage', self.captured_stderr.getvalue())
def test_should_error_if_noauth_and_authurl_both_specified(self):