From 63536bb5b34dd623d68d990fe1094c03f5034bd1 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Fri, 5 Jan 2024 07:05:02 +0000 Subject: [PATCH] make method private --- spinnaker_testbase/script_checker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spinnaker_testbase/script_checker.py b/spinnaker_testbase/script_checker.py index 04823b6..22c700c 100644 --- a/spinnaker_testbase/script_checker.py +++ b/spinnaker_testbase/script_checker.py @@ -42,7 +42,7 @@ class ScriptChecker(RootTestCase): Will run a script. Typically as part of Integration Tests. """ - def script_path(self, script): + def _script_path(self, script): class_file = sys.modules[self.__module__].__file__ integration_tests_directory = os.path.dirname(class_file) root_dir = os.path.dirname(integration_tests_directory) @@ -61,7 +61,7 @@ def check_script(self, script, broken_msg=None, skip_exceptions=None): # pylint: disable=global-statement global script_checker_shown - script_path = self.script_path(script) + script_path = self._script_path(script) self._setup(script_path) # pylint: disable=import-outside-toplevel plotting = "import matplotlib.pyplot" in (