7f1b0946a8
The method assertEquals has been deprecated since python 2.7. http://docs.python.org/2/library/unittest.html#deprecated-aliases Also in Python 3, a deprecated warning is raised when using assertEquals therefore we should use assertEqual instead. This patch is a mere sed replace of one-liner assertEquals to assertEqual. grep -lR "assertEquals(" cinder/tests/* | \ xargs sed -ri 's/(\W+self.assertEqual)s(.+)(\)$)/\1\2\3/' Change-Id: I4feea94d53afa866af9b7e14bd80345fa7276e75 |
||
---|---|---|
.. | ||
__init__.py | ||
fake.py | ||
mock_key_mgr.py | ||
test_key_mgr.py | ||
test_key.py | ||
test_mock_key_mgr.py | ||
test_not_implemented_key_mgr.py |