summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnh Tran <anhtt@vn.fujitsu.com>2016-09-27 13:32:02 +0700
committerAnh Tran <anhtt@vn.fujitsu.com>2016-09-27 13:35:57 +0700
commite79983bff38d4e8a94893884034cc5541b9d8b55 (patch)
tree3e4b5b00ed40edb488d6642cfed27f09dd67ad07
parent3afd2cf7e56a430155d51309df9a5df07b0981a9 (diff)
downloadpython-barbicanclient-e79983bff38d4e8a94893884034cc5541b9d8b55.tar.gz
Using assertEqual instead of assertEquals
This's defined in H234: http://docs.openstack.org/developer/hacking/#python-3-x-compatibility Change-Id: I965aa4670d7aa8ba8b0af1369235a225f88e164e
-rw-r--r--barbicanclient/tests/test_barbican.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/barbicanclient/tests/test_barbican.py b/barbicanclient/tests/test_barbican.py
index da7381e..0fa8ab7 100644
--- a/barbicanclient/tests/test_barbican.py
+++ b/barbicanclient/tests/test_barbican.py
@@ -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):