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
0fa21285
Commit
0fa21285
authored
Jan 13, 2005
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a test for presence of rst parser (roman.py).
parent
14f1aa4f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
lib/python/reStructuredText/tests/__init__.py
lib/python/reStructuredText/tests/__init__.py
+1
-0
lib/python/reStructuredText/tests/testReST.py
lib/python/reStructuredText/tests/testReST.py
+15
-0
setup.py
setup.py
+1
-1
No files found.
lib/python/reStructuredText/tests/__init__.py
0 → 100644
View file @
0fa21285
"""reST tests package."""
lib/python/reStructuredText/tests/testReST.py
0 → 100644
View file @
0fa21285
import
unittest
class
TestReST
(
unittest
.
TestCase
):
def
testRoman
(
self
):
# Make sure we can import the rst parser
from
docutils.parsers
import
rst
def
test_suite
():
from
unittest
import
TestSuite
,
makeSuite
return
TestSuite
((
makeSuite
(
TestReST
),))
setup.py
View file @
0fa21285
...
...
@@ -390,7 +390,7 @@ setup(
name
=
'reStructuredText'
,
author
=
'Andreas Jung'
,
packages
=
[
'reStructuredText'
],
packages
=
[
'reStructuredText'
,
'reStructuredText.tests'
],
data_files
=
[[
'reStructuredText'
,
[
'reStructuredText/*.txt'
]],
],
)
...
...
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