[Zope3-dev] Re: another layers quicky?

Chris Withers chris at simplistix.co.uk
Tue Oct 17 12:33:41 EDT 2006


Philipp von Weitershausen wrote:
> Chris Withers wrote:
>> Philipp von Weitershausen wrote:
>>>> What do I put in place of the ? to get hold of the layer's app?
>>>
>>> self.layer.app
>>
>> but self.layer is a string, no?
> 
> Huh? No, it's the layer object (e.g. the class)

even if you do:

class MyTests(TestCase):

     layer = 'X.Y.Z'


?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope3-dev mailing list