[Zope-Checkins] CVS: Zope2 - testDTML.py:1.5

shane@digicool.com shane@digicool.com
Wed, 23 May 2001 14:03:37 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/DocumentTemplate/tests
In directory korak.digicool.com:/tmp/cvs-serv14066

Modified Files:
	testDTML.py 
Log Message:
Enabled tests to run from testrunner.



--- Updated File testDTML.py in package Zope2 --
--- testDTML.py	2001/04/28 22:36:45	1.4
+++ testDTML.py	2001/05/23 18:03:37	1.5
@@ -95,8 +95,9 @@
     sys.path.append(os.path.join(os.pardir, os.pardir))
     here = os.curdir
 else:
+    from DocumentTemplate import tests
     from App.Common import package_home
-    here = package_home(globals())
+    here = package_home(tests.__dict__)
 
 def read_file(name):
     f = open(os.path.join(here, name), 'rb')