Forum Discussion

ibeard's avatar
ibeard
Occasional Contributor
9 years ago

Hide script functions from keyword tests

I have a script with several functions and subfunctions. Some of the functions are called from KeywordTests, but others are just called from those functions. Is there any way to hide the subfunctions...
  • ibeard's avatar
    ibeard
    9 years ago

    Thanks cunderw. While this approach didn't exactly work in python, I used a class to essentially do the same thing.

     

    class Global:
        def hiddenFunction():
              //code
    
    def visibleFunction():
        Global.hiddenFunction()
        //code