Skip to content

Commit

Permalink
make method private
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 5, 2024
1 parent 5b5c11a commit 63536bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spinnaker_testbase/script_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 (
Expand Down

0 comments on commit 63536bb

Please sign in to comment.