Merge "Remove usage of checkers from upgrade tests" into stable/8.0

This commit is contained in:
Jenkins 2016-07-25 20:34:41 +00:00 committed by Gerrit Code Review
commit d9464592cb
1 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,6 @@ from proboscis.asserts import assert_not_equal
from fuelweb_test import logger
from fuelweb_test import settings
from fuelweb_test.helpers import checkers
from fuelweb_test.helpers.utils import run_on_remote
from fuelweb_test.helpers.utils import run_on_remote_get_results
from fuelweb_test.tests.base_test_case import TestBasic
@ -186,13 +185,13 @@ class DataDrivenUpgradeBase(TestBasic):
'File already exists, not able to reuse')
# pylint: enable=no-member
elif 'restore' in action:
checkers.check_file_exists(self.admin_remote, path)
assert_true(self.remote_file_exists(path))
run_on_remote(self.admin_remote,
self.OCTANE_COMMANDS[action].format(**octane_cli_args))
if 'backup' in action:
checkers.check_file_exists(self.admin_remote, path)
assert_true(self.remote_file_exists(path))
def do_backup(self,
backup_path, local_path,