I merged the trunk into my branch, and it appeared there shouldn't be
any interaction, so I foolishly pushed without doing the unit tests.
I just got 9 failed unit tests. I don't understand them, so it is
conceivable that my code is causing them, but it seems unlikely.
Should I be regularly merging the trunk, or should I just do nothing?
Here is the command line output - well, wait, dangit, it didn't happen
when I tried to capture the command line output! Now all unit tests
succeed! Let me try to capture the failures from my terminal
history...
Advice, anyone?
[EMAIL PROTECTED] src]$ python leo.py
reading settings in /home/sps/Bzr/thyrsus/leo/config/leoSettings.leo
reading settings in /home/sps/myLeoSettings.leo
reading /home/sps/.leoRecentFiles.txt
@enabled-plugins found in leoSettings.leo
rst3 plugin: SilverCity not loaded
image.py: can not import ImageTk
can not load enabled plugin: image
No word lists can be found for the language "en_US".
aspell checker not enabled
@enabled-plugins found in leoSettings.leo
can not load enabled plugin: image
No word lists can be found for the language "en_US".
aspell checker not enabled
@suite run all doctests (windows only) script did not set
g.app.scriptDict
@suite test syntax of all plugins script did not set g.app.scriptDict
No word lists can be found for the language "en_US".
aspell checker not enabled
.No word lists can be found for the language "en_US".
aspell checker not enabled
.No word lists can be found for the language "en_US".
aspell checker not enabled
.No word lists can be found for the language "en_US".
aspell checker not enabled
.No word lists can be found for the language "en_US".
aspell checker not enabled
.No word lists can be found for the language "en_US".
aspell checker not enabled
.No word lists can be found for the language "en_US".
aspell checker not enabled
.No word lists can be found for the language "en_US".
aspell checker not enabled
......
End of plugins unit tests
.........image.py: can not import ImageTk
image.py: can not import ImageTk
...
End of general unit tests
.............wrote: /home/sps/Bzr/thyrsus/leo/test/xyzzy2
.unchanged: /home/sps/Bzr/thyrsus/leo/test/xyzzy2
.created: /home/sps/Bzr/thyrsus/leo/test/xyzzy2
...
End of leoAtFile tests
.....................................
End of leoColor tests
....................................
End of leoCommands tests
....
End of leoConfig tests
.......................................................................................................................FFFFF...FFF....F..
End of leoEditCommands tests.
......No word lists can be found for the language "en_US".
aspell checker not enabled
..
End of leoFileCommands tests.
.................test of printError: ážš(U+1FB9: Greek Capital Letter
Alpha With Macron)
.................................................first mismatched line
at line 36
original line: """
generated line: """@others
...................................................
End of leoImport tests.
.......................exception handling hypercclick event
AttributeError: Commands instance has no attribute 'hookFunction'
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoFrame.py", line 2452, in
OnHyperLinkControlClick
if not g.doHook("hypercclick1",c=c,p=p,v=p,event=event):
File "/home/sps/Bzr/thyrsus/leo/src/leoGlobals.py", line 2522, in
doHook
f = (c and c.hookFunction) or g.app.hookFunction
AttributeError: Commands instance has no attribute 'hookFunction'
............
End of leoNodes tests.
................
End of leoUndo tests.
.
======================================================================
FAIL: @test paste at end of headline
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 20, in <module>
AssertionError: Expected: Test headline abcABC, got Test headline abc
======================================================================
FAIL: @test typing and undo in headline - at end
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 23, in <module>
AssertionError: oops2: got: Test headline abc
======================================================================
FAIL: @test paste and undo in headline - at end
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 21, in <module>
AssertionError: oops2 got: Test headline abc
======================================================================
FAIL: @test paste and undo in headline - with selection
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 20, in <module>
AssertionError
======================================================================
FAIL: @test selecting new node retains typing in headline
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 20, in <module>
AssertionError
======================================================================
FAIL: @test typing in headline recomputes width
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 21, in <module>
AssertionError: 18 18
======================================================================
FAIL: @test selecting new node retains paste in headline
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 21, in <module>
AssertionError
======================================================================
FAIL: @test typing in empty body text redraws the screen (and icon)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 18, in <module>
AssertionError: expected "a", got: u''
======================================================================
FAIL: @test <Delete> key sticks in body
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sps/Bzr/thyrsus/leo/src/leoTest.py", line 178, in
runTest
exec script + '\n' in d
File "<string>", line 15, in <module>
AssertionError: oops1: expected "AB", got ABC
----------------------------------------------------------------------
Ran 434 tests in 126.928s
FAILED (failures=9)
wrote recent file: /home/sps/.leoRecentFiles.txt
[EMAIL PROTECTED] src]$
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---