diff --git a/os_tests/libs/utils_lib.py b/os_tests/libs/utils_lib.py index c3b4353b..e5293354 100644 --- a/os_tests/libs/utils_lib.py +++ b/os_tests/libs/utils_lib.py @@ -104,7 +104,6 @@ def init_args(): parser.add_argument('--config_toml_info', dest='config_toml_info', default=None, action='store', help='specify login info of the custom container disk image', required=False) args = parser.parse_args() -args = parser.parse_args() return args def init_provider(params=None): diff --git a/os_tests/tests/test_update.py b/os_tests/tests/test_update.py index 4b62a2db..c35e04c4 100644 --- a/os_tests/tests/test_update.py +++ b/os_tests/tests/test_update.py @@ -660,11 +660,7 @@ def test_leapp_upgrade_rhsm(self): "sudo cat /var/log/leapp/leapp-report.txt", expect_ret=0, msg='Check leapp report') - ret = utils_lib.run_cmd(self, - cmd_preupgrade, - ret_status=True, - timeout=3600, - msg='Retry preupgrade') + ret = utils_lib.run_cmd(self, cmd_preupgrade, ret_status=True, timeout=3600, msg='Retry preupgrade') #save preupgrade log file_dir = '/var/log/leapp/' file_names = ['leapp-preupgrade.log', 'leapp-report.txt']