diff --git a/harvester_e2e_tests/integrations/test_upgrade.py b/harvester_e2e_tests/integrations/test_upgrade.py index 12a25cd82..65c2462c5 100644 --- a/harvester_e2e_tests/integrations/test_upgrade.py +++ b/harvester_e2e_tests/integrations/test_upgrade.py @@ -2,6 +2,7 @@ import json import yaml from time import sleep +from hashlib import sha512 from operator import add from functools import reduce from datetime import datetime, timedelta @@ -388,7 +389,8 @@ def test_iso_url(self, api_client, unique_name, upgrade_timeout): 2. Try to upgrade with the invalid manifest. 3. Upgrade should not start and fail. """ - version, url, checksum = unique_name, "https://invalid_iso_url", 'not_a_valid_checksum' + version, url = unique_name, "https://invalid_iso_url" + checksum = sha512(b'not_a_valid_checksum').hexdigest() code, data = api_client.versions.get(version) if code != 200: