summaryrefslogtreecommitdiff
path: root/test/test_transforms
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-11-11 16:03:42 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-11-11 16:03:42 +0000
commitf9f81d1faa5dc25f320f3eec244dd46182dbc9c0 (patch)
treee86d6881efeeeece21354bc9e6cee600529dd10a /test/test_transforms
parent2dd0fe3fe16bbad8951e92efee11e23601240e6a (diff)
downloaddocutils-f9f81d1faa5dc25f320f3eec244dd46182dbc9c0.tar.gz
simplified test
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4043 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_transforms')
-rwxr-xr-xtest/test_transforms/test_docinfo.py22
1 files changed, 6 insertions, 16 deletions
diff --git a/test/test_transforms/test_docinfo.py b/test/test_transforms/test_docinfo.py
index d14d2c48f..b2b968391 100755
--- a/test/test_transforms/test_docinfo.py
+++ b/test/test_transforms/test_docinfo.py
@@ -305,32 +305,22 @@ totest['bibliographic_field_lists'] = ((DocInfo,), [
["""\
.. RCS keyword extraction.
-:Status: $""" + """RCSfile: test_docinfo.py,v $
+:Status: (some text) $""" + """RCSfile: test_docinfo.py,v $ (more text)
:Date: (some text) $""" + """Date: 2002/10/08 01:34:23 $ (more text)
-:Version: $""" + """Revision: 1.1 $ (still more text)
-
-RCS keyword 'RCSfile' doesn't change unless the file name changes,
-so it's safe. The 'Date' keyword changes every time the file is
-checked in to CVS, so the test's expected output text has to be
-derived (hacked) in parallel in order to stay in sync.
+:Version: (some text) $""" + """Revision: 1.1 $ (more text)
""",
"""\
<document source="test data">
<docinfo>
<status>
- test_docinfo.py
+ (some text) test_docinfo.py (more text)
<date>
- (some text) %s (more text)
+ (some text) 2002-10-08 (more text)
<version>
- 1.1 (still more text)
+ (some text) 1.1 (more text)
<comment xml:space="preserve">
RCS keyword extraction.
- <paragraph>
- RCS keyword 'RCSfile' doesn't change unless the file name changes,
- so it's safe. The 'Date' keyword changes every time the file is
- checked in to CVS, so the test's expected output text has to be
- derived (hacked) in parallel in order to stay in sync.
-""" % (('$' 'Date: 2002/10/08 01:34:23 $')[7:17].replace('/', '-'),)],
+"""],
])