[qmtest] [PATCH] gui->run broken in HEAD

Mark Mitchell mark at codesourcery.com
Tue Jul 15 18:02:48 UTC 2003


On Mon, 2003-07-14 at 00:23, Vladimir Prus wrote:
> 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.

I applied this patch.

Thanks!

-- 
Mark Mitchell <mark at codesourcery.com>
CodeSourcery, LLC




More information about the qmtest mailing list