Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9d24e8f0
Commit
9d24e8f0
authored
May 23, 2001
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled tests to run from testrunner.
parent
bb0c2d11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/python/DocumentTemplate/tests/testDTML.py
lib/python/DocumentTemplate/tests/testDTML.py
+4
-3
No files found.
lib/python/DocumentTemplate/tests/testDTML.py
View file @
9d24e8f0
...
...
@@ -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
...
...
@@ -95,8 +95,9 @@ if __name__=='__main__':
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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment