Replace md5sum_file() with hash_file() and 'md5sum' with 'sha1sum' where appropriate. Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx> --- client/tests/kvm/kvm_vm.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index ccf8fa9..5781dbc 100755 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm/kvm_vm.py @@ -347,14 +347,14 @@ class VM: elif params.get("md5sum"): logging.debug("Comparing expected MD5 sum with MD5 sum of ISO " "file...") - actual_hash = kvm_utils.md5sum_file(iso, method="md5") + actual_hash = kvm_utils.hash_file(iso, method="md5") expected_hash = params.get("md5sum") compare = True elif params.get("sha1sum"): logging.debug("Comparing expected SHA1 sum with SHA1 sum of " "ISO file...") - actual_hash = kvm_utils.md5sum_file(iso, method="sha1") - expected_hash = params.get("md5sum") + actual_hash = kvm_utils.hash_file(iso, method="sha1") + expected_hash = params.get("sha1sum") compare = True if compare: if actual_hash == expected_hash: -- 1.5.4.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html