Skip to content

Commit

Permalink
Enabled tests to run from testrunner.
Browse files Browse the repository at this point in the history
  • Loading branch information
hathawsh committed May 23, 2001
1 parent 563f2f0 commit 71f8b96
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/testDTML.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"""Document Template Tests
"""

__rcs_id__='$Id: testDTML.py,v 1.4 2001/04/28 22:36:45 chrism Exp $'
__version__='$Revision: 1.4 $'[11:-2]
__rcs_id__='$Id: testDTML.py,v 1.5 2001/05/23 18:03:37 shane Exp $'
__version__='$Revision: 1.5 $'[11:-2]

import sys, os
import unittest
Expand All @@ -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')
Expand Down

0 comments on commit 71f8b96

Please sign in to comment.