uitests.py 249 B

12345678910111213
  1. import os
  2. import sys
  3. sys.path.append(os.getenv('PYTHON_PKGS'))
  4. import nose
  5. import nose.config
  6. myconfig = os.path.join(os.getcwd(), 'tests.sikuli', 'nose.cfg')
  7. nose.config.config_files = [myconfig]
  8. c = nose.config.Config()
  9. c.configure()
  10. nose.run()