Hello,
I have two object that are registed in content space. The first one with the
ZMI the other one programmatically with:
getSiteManager().registerUtility(self, INewsfeed, self.__name__)
both registration show up fine in the ZMI registration tab. But after a
restart of Zope both object are
hi!
i would like to use zope.testbrowser to test my vhosted site
http://localhost:8080/++skin++myskin/mysite/++vh++http:my.example.com:80/++/
i see there is a VirtualHostingBrowser class in
zope.testbrowser.testing, but i dont have a clue on how to use this.
any help would be nice.
thanks
Dom
Dominique Lederer wrote:
i see there is a VirtualHostingBrowser class in
zope.testbrowser.testing, but i dont have a clue on how to use this.
Use VirtualHostTestBrowserSuite instead of
unittest.TestSuite and the tests you add to the suite will be run twice:
once normally and again in a
On Jan 2, 2007, at 2:29 PM, Benji York wrote:
Dominique Lederer wrote:
i see there is a VirtualHostingBrowser class in
zope.testbrowser.testing, but i dont have a clue on how to use this.
Use VirtualHostTestBrowserSuite instead of
unittest.TestSuite and the tests you add to the suite will
You can override the setupWidgets() method of your formlib class and
write something like this. (assuming that project is your dropdown field
and your view is called MyAddingView)
def setUpWidgets(self, ignore_request=False):
super(MyAddingView,