From dd5fe859e86ed0048a5cc6867214508658769f38 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 11 Dec 2023 11:34:05 +0100 Subject: [PATCH] rename _execute_tests_list --- pytest_abra/runner.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pytest_abra/runner.py b/pytest_abra/runner.py index 72561ac..99c494f 100644 --- a/pytest_abra/runner.py +++ b/pytest_abra/runner.py @@ -43,18 +43,18 @@ class Runner: def run_setups(self): """runs the setup scripts if available""" - self._execute_test_list(self.setups) + self._execute_tests_list(self.setups) def run_tests(self): """runs the test scripts if available""" - self._execute_test_list(self.tests) + self._execute_tests_list(self.tests) def run_cleanups(self): """runs the cleanup scripts if available""" - self._execute_test_list(self.cleanups) + self._execute_tests_list(self.cleanups) - def _execute_test_list(self, test_list: list[Test]): - """runs the main test script and if available and sub test scripts if their running condition is met""" + def _execute_tests_list(self, test_list: list[Test]): + """Runs all tests given in the list. If condition is defined, it is also checked.""" # check if required dependencies have passed if not self._dependencies_passed(): logger.warning(f"skipping run_tests() of {self.env_type} (one or more dependencies have not passed)")