reportlab/demos/tests/testdemos.py
author rgbecker
Wed, 25 Oct 2000 08:57:46 +0000
changeset 494 54257447cfe9
parent 16 f9c7525619fb
child 1677 1450177dd19e
permissions -rw-r--r--
Changed to indirect copyright

#!/bin/env python
#copyright ReportLab Inc. 2000
#see license.txt for license details
#history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/demos/tests/testdemos.py?cvsroot=reportlab
#$Header: /tmp/reportlab/reportlab/demos/tests/testdemos.py,v 1.5 2000/10/25 08:57:45 rgbecker Exp $
__version__=''' $Id: testdemos.py,v 1.5 2000/10/25 08:57:45 rgbecker Exp $ '''
__doc__='Test all demos'
_globals=globals().copy()
import os, sys
from reportlab import pdfgen

for p in ('pythonpoint/pythonpoint.py','stdfonts/stdfonts.py','odyssey/odyssey.py', 'gadflypaper/gfe.py'):
	fn = os.path.normcase(os.path.normpath(os.path.join(os.path.dirname(pdfgen.__file__),'..','demos',p)))
	os.chdir(os.path.dirname(fn))
	execfile(fn,_globals.copy())