selftest.backtick versus selftest.run_bzr

John A Meinel john at arbash-meinel.com
Sat Sep 17 17:09:14 BST 2005


I'm trying to write some more test cases. These are supposed to be
external tests (as in making sure that the cmd_* functions are working
correctly from the outside).

>From what I can tell, there are 2 convenience functions to consider,
self.backtick() and self.run_bzr(). run_bzr() actually just invokes the
in-memory bzr library (which I am okay with), but I can't find a way to
get the output of the command.

Am I missing a flag? Or should self.run_bzr be updated to support the
"backtick=True" statement like the blackbox.py tests use? Or should I be
subclassing the blackbox testing class instead of just TestCaseInTempDir?

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050917/80ba1f16/attachment.pgp 


More information about the bazaar mailing list