[merge] separate and activate bencode tests

Martin Pool mbp at sourcefrog.net
Fri Jul 13 07:29:51 BST 2007


Andrew and I are using bencode within one of the smartserver commands,
and that reminded me that the tests are currently inline within that
module, so loaded every time but never run.  This separates them and
runs them.

They still use assert within the tests where we generally prefer one
of the assertion methods, but that doesn't seem worth changing at the
moment.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070713-bencode-tests.diff
Type: text/x-patch
Size: 29358 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070713/faa30015/attachment-0001.bin 


More information about the bazaar mailing list