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
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com