python: samba.tests.credentials: Fix DeprecationWarning
authorLumir Balhar <lbalhar@redhat.com>
Tue, 18 Oct 2016 12:30:28 +0000 (14:30 +0200)
committerGarming Sam <garming@samba.org>
Sun, 6 Nov 2016 22:53:10 +0000 (23:53 +0100)
commitba060f862388e482beffe349baf02b559fc8dffd
treec883f75f340c19a81ddd583d682529f73ce1c295
parent815658d2db46e4accdd35f5925585ec1f1c3d74f
python: samba.tests.credentials: Fix DeprecationWarning

For historical reasons, TestCase methods have some aliases
which are deprecated since Python 2.7.
Change "assertEquals" to the preferred name, "assertEqual".

Deprecation notice: https://docs.python.org/2/library/unittest.html#deprecated-aliases

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/credentials.py