sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07300
[Bug 897248] Re: A way to add source ~/environment.settings to the default test runner
uuuuups, sounds crazy ;-)
--- import in IDE unittest
currently not possible as one might exspect (global imports are not processed).
Every def() needs its own import statements for the features used in the def (besides sikuli, sys and time).
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/897248
Title:
A way to add source ~/environment.settings to the default test runner
Status in Sikuli:
New
Bug description:
Due to the need to share these tests with others I don't want to add
personal info for things like username and password for tests.
For this I am using import os and os.environ['name_of_required_field']
in conjunction with the type command. This works flawlessly from a
terminal using source ~/xyz.env for example but will not run in the
sikuli test gui runner.
Is there a way to add this functionality some how?
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/897248/+subscriptions
References