Skip to content

Commit

Permalink
* [e2e] fix bug in test_iso_url
Browse files Browse the repository at this point in the history
  • Loading branch information
lanfon72 authored and khushboo-rancher committed Jun 26, 2024
1 parent 81fd2e9 commit 0c9e961
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion harvester_e2e_tests/integrations/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0c9e961

Please sign in to comment.