migrate-bitmaps-postcopy-test: Fix pylint warnings
authorHanna Reitz <hreitz@redhat.com>
Thu, 2 Sep 2021 09:40:14 +0000 (11:40 +0200)
committerHanna Reitz <hreitz@redhat.com>
Wed, 15 Sep 2021 13:54:07 +0000 (15:54 +0200)
commite2ad17a62d9da45fbcddc3faa3d6ced519a9453a
treef1a8f22ebf92ccddb67baf92989ed7a4fad94e84
parent26db7b23ce57f12b8324111a2ed3b2a4ba3db4a4
migrate-bitmaps-postcopy-test: Fix pylint warnings

pylint complains that discards1_sha256 and all_discards_sha256 are first
set in non-__init__ methods.

These variables are not really class-variables anyway, so let them
instead be returned by start_postcopy(), thus silencing pylint.

Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210902094017.32902-3-hreitz@redhat.com>
tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test