2009/9/3 Jelmer Vernooij <email address hidden>:
> On Thu, Aug 13, 2009 at 05:09:06PM -0000, John A Meinel wrote:
>> 3) I would also like to see things like:
>> class ForeignBranchFormatTests(object):
>> format = None # set by XXXXX
>
>> def test_foo(self):
>> self.format.x
>
>> It makes it easier to figure out where things are happening.
>
> This should work well for foreign branch formats. It's trickier though
> in the case of foreign branches, where there is custom code necessary that
> creates a branch. How would the adapter find the code that creates the
> branch attribute that is used by the member methods of a testcase
> class? This seems a lot easier with a MixIn, but I'm probably missing
> something.
I might be missing the point, but I think you'd have
2009/9/3 Jelmer Vernooij <email address hidden>: rmatTests( object) :
> On Thu, Aug 13, 2009 at 05:09:06PM -0000, John A Meinel wrote:
>> 3) I would also like to see things like:
>> class ForeignBranchFo
>> format = None # set by XXXXX
>
>> def test_foo(self):
>> self.format.x
>
>> It makes it easier to figure out where things are happening.
>
> This should work well for foreign branch formats. It's trickier though
> in the case of foreign branches, where there is custom code necessary that
> creates a branch. How would the adapter find the code that creates the
> branch attribute that is used by the member methods of a testcase
> class? This seems a lot easier with a MixIn, but I'm probably missing
> something.
I might be missing the point, but I think you'd have
ForeignBranchTe sts(TestCase) :
branch_factory = None # set by scenario
def test_log(self): factory. make_branch_ with_crisscross _merges( )
branch = self.branch_
-- launchpad. net/~mbp/>
Martin <http://