Skip to content

Commit

Permalink
Merge pull request #826 from TasmiyaNalatwad/htxbootme_indentation_er…
Browse files Browse the repository at this point in the history
…ror_fix

Fixing indentation error in htxbootme test code.
  • Loading branch information
abdhaleegit authored Apr 22, 2024
2 parents 90479de + b9ad643 commit 42b39e5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions testcases/OpTestHtxBootme.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def setUp(self):
self.boot_count = int(self.conf.args.boot_count)
self.htx_rpm_link=self.conf.args.htx_rpm_link

if not self.execute_remote_command('test -e {}'.format(path)):
if not self.execute_remote_command('test -e {}'.format(path)):
log.debug("MDT file %s not found due to config" % self.mdt_file)

self.host_distro_name = self.util.distro_name()
Expand Down Expand Up @@ -107,9 +107,10 @@ def install_latest_htx_rpm(self):
self.latest_htx_rpm = distro_specific_htx_versions[0]

if "error:" in self.con.run_command('rpm -ivh --nodeps %s%s '
'--force' % (self.htx_rpm_link, self.latest_htx_rpm
), timeout=180):
self.fail("Installion of rpm failed")
'--force' % (self.htx_rpm_link,
self.latest_htx_rpm
), timeout=180):
self.fail("Installion of rpm failed")

def setup_htx(self):
"""
Expand Down

0 comments on commit 42b39e5

Please sign in to comment.