[Zope] How to access the content of a file in a test suite in a portable way
Marco Bizzarri
marco.bizzarri at gmail.com
Wed Sep 17 06:23:30 EDT 2008
Hi all.
I'm writing a number of acceptance tests where I need to compare
whether the content of a text file is equals to another file.
The comparision files are in a subdirectory of the acceptance test
directory itself, therefore, once I know where my product is on the
filesystem, I can access the test files from there.
What is the accepted way to do know the directory of a product?
Regards
Marco
--
Marco Bizzarri
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/
More information about the Zope
mailing list