blackbox test support improvements
Robert Collins
robertc at robertcollins.net
Mon Oct 16 08:01:50 BST 2006
On Sat, 2006-10-07 at 10:52 +1000, Martin Pool wrote:
> I was thinking about this the other day. It'd be nice if our blackbox
> tests asserted that there were no tracebacks, unless it's a test that
> specifically expects a traceback.
It might be nice to have a version of run_bzr that takes expected values
of stdout and stderr, with a default for both of ''. So you can do
self.run_bzr_expected('cat', 'filename', 'contents')
and it will assert if there is anything on stderr.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061016/b0689990/attachment.pgp
More information about the bazaar
mailing list