iotests: Replace assertEquals() with assertEqual()
commitfa1cfb40262b8a60e0f93b70491660f242638f81
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Nov 2018 17:12:21 +0000 (20 18:12 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 21 Nov 2018 09:30:05 +0000 (21 10:30 +0100)
treebd02b41ddccad19e4284b07df4b911d742fb2e2f
parentd8336c6b286d9715bfe29a0e0b415dfd7891f671
iotests: Replace assertEquals() with assertEqual()

TestCase.assertEquals() is deprecated since Python 2.7. Recent Python
versions print a warning when the function is called, which makes test
cases fail.

Replace it with the preferred spelling assertEqual().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/qemu-iotests/041
tests/qemu-iotests/118
tests/qemu-iotests/iotests.py