[RFC][MERGE] refactoring of info tests

Martin Pool mbp at canonical.com
Wed Jun 21 02:17:28 BST 2006

On 17 Jun 2006, Robert Collins <robertc at robertcollins.net> wrote:
> On Fri, 2006-06-16 at 01:58 +1000, Robert Collins wrote:
> > This is a partial refactoring of the info tests, prompted when I
> > realised they all broke with a new tree format... 
> > 
> > It preserves the explicit declaration of what is wanted, but tries to
> > make that more 'I want a light checkout output' rather than 'this exact
> > sequence of bytes', so the tests require less adjustment while still
> > being valid.
> John noted that I had noise in here from the format change that prompted
> the work - herewith a patch with that removed.

+1 with a comment, looks like a nice simplification.

You have a function called assertCheckoutStatusOutput, but it actually
"checks the output of info", whereas I would have thought it did
something with the "status" command.


More information about the bazaar mailing list