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