From afa5e6098c7fd24ee2a9259a5dbff64a3e2d0a68 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 19 Dec 2017 19:12:27 +0100 Subject: Delete TestCase.create_snapshot() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OSGC has been removed then this method can be safely removed. It also updates run_tests.py. Change-Id: I4030b7f0351d24d095313ae990b08e65d8f69115 Signed-off-by: Cédric Ollivier --- functest/ci/run_tests.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'functest/ci') diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py index 166dbfc9..6748484d 100644 --- a/functest/ci/run_tests.py +++ b/functest/ci/run_tests.py @@ -137,9 +137,6 @@ class Runner(object): test_dict = ft_utils.get_dict_by_test(test.get_name()) test_case = cls(**test_dict) self.executed_test_cases[test.get_name()] = test_case - if self.clean_flag: - if test_case.create_snapshot() != test_case.EX_OK: - return testcase.TestCase.EX_RUN_ERROR try: kwargs = run_dict['args'] test_case.run(**kwargs) -- cgit 1.2.3-korg