[brisbane:MERGE] GroupCHKStreamSource

Robert Collins robert.collins at canonical.com
Wed Apr 1 03:45:53 BST 2009


On Tue, 2009-03-31 at 21:06 -0500, John Arbash Meinel wrote:
> 
> > For testing, we do test fetch in per_repository; I think a better
> and
> > more relevant test is to test the source type that is constructed -
> add
> > an expected source type to the parameterisation for per_repository,
> and
> > assert they match in a per_repository.test_fetch fetch.
> > 
> > -Rob
> 
> Is this 'per_repository' or something more of an 'interrepository'
> test?
> 
> I agree that a simple test in 'test_fetch' is probably not entirely
> relevant, though it was certainly the easiest to get at (at the time,
> at
> least).

You could put it in interrepo or per_repo. Or make it a static test that
the sources you want are being created appropriately in the two cases.

We should be well covered on generic 'copies the right data' tests
already. If you want to test specific stream generation I'd do that in
e.g. test_repository.py.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090401/e1a0da0b/attachment-0001.pgp 


More information about the bazaar mailing list