From 08766e557d0195a09b85e27e27540c2553a626bd Mon Sep 17 00:00:00 2001 From: Vladimir Khlyunev Date: Mon, 25 Jul 2016 16:21:53 +0300 Subject: [PATCH] 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 --- .../tests/tests_upgrade/test_data_driven_upgrade_base.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fuelweb_test/tests/tests_upgrade/test_data_driven_upgrade_base.py b/fuelweb_test/tests/tests_upgrade/test_data_driven_upgrade_base.py index 80e427e5b..4427bb258 100644 --- a/fuelweb_test/tests/tests_upgrade/test_data_driven_upgrade_base.py +++ b/fuelweb_test/tests/tests_upgrade/test_data_driven_upgrade_base.py @@ -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,