On Thu, 18 Mar 2010 21:06:13 -0000, Tim Penhey <email address hidden> wrote:
> Review: Approve
> James, this all looks good.
>
> My only comment is about the codeimport doc test.
>
> How much work is it to change the following line:
>
> >>> target = IBranchTarget(getUtility(IProductSet).getByName('firefox'))
>
> to use factory.makeProduct(name='widget') ?
>
> I'd love to move more away from sample data in the tests.
I'll have a look, it's rather an old doctest, so there may be some
cleanup involved.
On Thu, 18 Mar 2010 21:06:13 -0000, Tim Penhey <email address hidden> wrote: getUtility( IProductSet) .getByName( 'firefox' )) makeProduct( name='widget' ) ?
> Review: Approve
> James, this all looks good.
>
> My only comment is about the codeimport doc test.
>
> How much work is it to change the following line:
>
> >>> target = IBranchTarget(
>
> to use factory.
>
> I'd love to move more away from sample data in the tests.
I'll have a look, it's rather an old doctest, so there may be some
cleanup involved.
Thanks,
James