Hi,

  Today i have added a piece of code in my fct test class to be able to open 
browser.contents inside a real browser:

    def openInFirefox(self, contents, firefox_path='firefox'):
        d, fn = mkstemp('.html')
        f = open(fn, 'w')
        f.write(contents)
        os.popen('%s %s'%(firefox_path, fn))

I would like to know if there is something similar or already done in the a 
zope egg, cause i m sure nobody read the html with their eyes :)

-- 
JeanMichel FRANCOIS
Makina Corpus

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to