Re: Unit testing problem

2008-04-05 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 3:49 PM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: The test button works as expected, but run-all-tests produces the following output in the Log pane: exception executing script AttributeError: 'NoneType' object has no attribute 'v' The fixes to this, and

Re: Unit testing problem

2008-04-05 Thread Kayvan A. Sylvan
On Sat, Apr 05, 2008 at 08:08:10AM -0700, Edward K. Ream wrote: The fixes to this, and several other unit testing problems are on the trunk. Verified. Works perfectly. Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Unit testing problem

2008-04-04 Thread Kayvan A. Sylvan
Hi fellow Leo enthusiasts, I am playing with unit testing some of my python code. I created two buttons: test and run-all-tests. The code is as follows: === test === import leoTest leoTest.doTests(c, all=False) === end test === === run-all-tests === import leoTest leoTest.doTests(c, all=True)

Re: Unit testing problem

2008-04-04 Thread thyrsus
I think I saw the same thing doing Alt-4 in the unitTest.leo file, but my screen saver had fired off in the middle of the tests, and I attributed it to an errant extra mouse click, since when I lengthened the screen saver timeout and the test ran uninterrupted, the problem did not recur. If