** Summary changed: - [1.1.0 Beta4] addImagePatch() dont works correctly + [1.1.0 Beta4] addImagePath() dont works correctly
-- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1361687 Title: [1.1.0 Beta4] addImagePath() dont works correctly Status in Sikuli: In Progress Bug description: Windows 7 32-bit, Sikuli 1.1.0 Beta4, java version 1.7.0_67 Step to repo: 1. Create script with image e.g: C:\TEST\call_fun.sikuli from sikuli import * def one(name): try: find(1.png) #do something except: #do something 2. Create other script e.g: C:\TEST\FUN\fun_1.sikuli : ScriPath = "C:\\TEST\\call_fun.sikuli" AddImagePath("C:\\TEST\\call_fun.sikuli") import call_fun import unittest class TestSikulix(unittest.TestCase): def setUp(self): print("setUp") def tearDown(self): print("tearDowm") def test_one(self): self.assertEqual(1,(call_fun.one('test_one'))) if __name__=='__main__': try: unittest.main() except SystemExit: pass 3.Run script from console Expected result: -script runs correctly Got: [error] ImagePath: addImagePath: not valid: Open the same file in 1.0.1. Its works. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1361687/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp