Initial work to add branch as a named parameter to
factory.makeProductSeries() is done. This allows about 4 or 5 lines of
code to be deleted from browser.test_launchpad.py
On 15/09/10 18:01, Tim Penhey wrote:
> On Wed, 15 Sep 2010 17:25:59 you wrote:
>> lp.testing.factory.py:
>> def makeProductSeries(self, product=None, name=None, owner=None,
>> summary=None, date_created=None):
>> """Create and return a new ProductSeries."""
>>
>> There's no named parameter for branch. Hence it complains if one tries
>> to use branch=.
>
> Found it. It is called makeSeries. Damn. We now have two factory methods to
> do the same thing. Can you please consolidate?
Initial work to add branch as a named parameter to makeProductSeri es() is done. This allows about 4 or 5 lines of test_launchpad. py
factory.
code to be deleted from browser.
On 15/09/10 18:01, Tim Penhey wrote: factory. py: es(self, product=None, name=None, owner=None,
> On Wed, 15 Sep 2010 17:25:59 you wrote:
>> lp.testing.
>> def makeProductSeri
>> summary=None, date_created=None):
>> """Create and return a new ProductSeries."""
>>
>> There's no named parameter for branch. Hence it complains if one tries
>> to use branch=.
>
> Found it. It is called makeSeries. Damn. We now have two factory methods to
> do the same thing. Can you please consolidate?