[qmtest] [PATCH] fix "save expectation" command

Vladimir Prus ghost at cs.msu.su
Wed Jul 16 04:55:20 UTC 2003


Mark Mitchell wrote:
> On Mon, 2003-07-14 at 22:33, Vladimir Prus wrote:
> > The command is broken because since 2003-05-09 the Result.__init__ method
> > does not have "context" parameter, while
> > QMTestSever.HandleSaveExpectations tries to pass it.
>
> I applied this patch.

Oh... the "help" command in interpreter did not tell that os.path.join handles 
absolute paths correctly, so I checked for absolute paths explicitly.

BTW, could you tell why QMTest uses:

    super(TemporaryAttachmentStore, self).__init__(path)

instead of 

    FileAttachmentStore.__init__(self, path)

Is it to handle the case when superclass changes? I must admit this is the 
first time I see "super" builtin function.

- Volodya




More information about the qmtest mailing list