Remove usage of checkers from upgrade tests

checkers' API is different between 7.0 8.0 and mitaka branches.
Base class was already rewritten for avoining this and now it's time
to remove checkers from upgrade tests

Change-Id: Ie49eaf52717f34a44df08dccbb6478c1f98f782d
This commit is contained in:
Vladimir Khlyunev 2016-07-25 16:21:53 +03:00
parent 7bb9751385
commit 08766e557d

View File

@ -12,7 +12,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
@ -190,13 +189,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,