From b9ad6434433c757d0cf27b5471ee6b8f803b82f2 Mon Sep 17 00:00:00 2001 From: Tasmiya Nalatwad Date: Mon, 22 Apr 2024 10:33:47 +0530 Subject: [PATCH] Fixing indentation error in htxbootme test code. Signed-off-by: Tasmiya Nalatwad --- testcases/OpTestHtxBootme.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testcases/OpTestHtxBootme.py b/testcases/OpTestHtxBootme.py index 65c99c2f..32ba1550 100644 --- a/testcases/OpTestHtxBootme.py +++ b/testcases/OpTestHtxBootme.py @@ -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() @@ -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): """