[PATCH] gui->run broken in HEAD
Vladimir Prus
ghost at cs.msu.su
Mon Jul 14 07:23:21 UTC 2003
Hello,
I can't get any tests to execute from GUI, using CVS HEAD.
Here's what I see in stdout:
File "/home/ghost/build/Tools/qm-up-to-date/qm/test/result_stream.py", line
79, in WriteAllAnnotations
self.WriteAnnotation(key, value)
File "/home/ghost/build/Tools/qm-up-to-date/qm/test/web/web.py", line 1243,
in WriteAnnotation
self.__annotations[key] = value
File "/home/ghost/build/Tools/qm-up-to-date/qm/extension.py", line 113, in
__getattr__
raise AttributeError, name
AttributeError: _StorageResultsStream__annotations
I'm guessing it's because commit from
"2003-07-02 Nathaniel Smith <njs at codesourcery.com>"
says:
* qm/test/web.py (StorageResultsStream.__init__): Use 'super'.
Handle annotations.
has added StorageResultStream.WriteAnnotations, but initialization of
__annocations was omitted. The attached trivial patch fixes the problem
(unless I've missed something).
Changelog entry:
Fix a nit which prevented running tests from GUI.
* qm/test/web/web.py (StorageResultStream.__init__): Initialize __attributes
member.
Patch attached.
- Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: annotations.diff
Type: text/x-diff
Size: 616 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20030714/fe10fc41/attachment.diff>
More information about the qmtest
mailing list