← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162606]: Python function in sikuli test file

 

Question #162606 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/162606

    Status: Answered => Solved

Artem confirmed that the question is solved:
Thank you for quick response. I will try to use unittest module. 
And recently I found one more workaround:

I can write

def test1(self):
    self.login("name", "pass")
    ....

def login(self, username, password):
   ....


And this works fine. 

Thanks.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.