V.GNELICA
2013-11-03 12:34:59 UTC
Testing Docutils 0.11 [release] with Python 3.3.2 on 2013-11-03 at 14:27:14
Working directory: C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3
Docutils package: C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils
................................................F...........................
............................................................................
............................................................................
..........................F.................................................
............................................................................
............................................................................
...................
test_writers\test_html4css1_template.py: totest['template'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
input:
b'================\n Document Title\n================\n----------\n
Subtitle\n----------\n\n:Author: Me\n\n.. footer:: footer
text\n\nSection\n=======\n\nSome text.\n'
-: expected
+: output
head_prefix = """\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\
- <link rel="stylesheet" href="/test.css" type="text/css" />"""
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />"""
? ++
body_prefix = """\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
head_prefix = """\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\
- <link rel="stylesheet" href="/test.css" type="text/css" />"""
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />"""
? ++
body_prefix = """\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
title = """\
Document Title"""
subtitle = """\
Subtitle"""
header = """\
"""
footer = """\
<div class="footer">
<hr class="footer" />
footer text
</div>"""
meta = """\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="author" content="Me" />"""
fragment = """\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
html_prolog = """\
<?xml version="1.0" encoding="%s" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"""
html_head = """\
<meta http-equiv="Content-Type" content="text/html; charset=%s" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
html_title = """\
<h1 class="title">Document Title</h1>"""
html_subtitle = """\
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
html_body = """\
<div class="document" id="document-title">
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>"""
F.........................EEE.
test_writers\test_s5.py: totest['basics'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
input:
b'============\n Show Title\n============\n\nTitle slide\n\nFirst
Slide\n===========\n\nSlide text.\n'
-: expected
+: output
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Show Title</title>
- <link rel="stylesheet" href="/test.css" type="text/css" />
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />
? ++
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Show Title</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Show Title</h1>
<p>Title slide</p>
</div>
<div class="slide" id="first-slide">
<h1>First Slide</h1>
<p>Slide text.</p>
</div>
</div>
</body>
</html>
F
test_writers\test_s5.py: totest['settings'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
input:
b"==================\n Bogus Slide Show\n==================\n\nWe're just
checking the settings\n"
-: expected
+: output
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Bogus Slide Show</title>
- <link rel="stylesheet" href="/test.css" type="text/css" />
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />
? ++
<!-- configuration parameters -->
<meta name="defaultView" content="outline" />
<meta name="controlVis" content="visible" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Bogus Slide Show</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Bogus Slide Show</h1>
<p>We're just checking the settings</p>
</div>
</div>
</body>
</html>
F...........................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
....................................................
======================================================================
ERROR: test_odt_basic (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 151, in test_odt_basic
self.process_test('odt_basic.txt', 'odt_basic.odt',
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 104, in process_test
settings_overrides=settings_overrides)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\__init__.py", line 80, in write
self.translate()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 550, in translate
self.assemble_my_parts()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 567, in
assemble_my_parts
s1 = self.get_stylesheet()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 614, in
get_stylesheet
s1 = self.visitor.setup_page()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1005, in
setup_page
self.add_header_footer(self.dom_stylesheet)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1071, in
add_header_footer
nsdict=STYLES_NAMESPACE_DICT,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 285, in
SubElement
parent.append(el)
TypeError: must be xml.etree.ElementTree.Element, not
_ElementInterfaceWrapper
======================================================================
ERROR: test_odt_custom_headfoot (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 166, in test_odt_custom_headfoot
settings_overrides=settings_overrides,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 104, in process_test
settings_overrides=settings_overrides)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\__init__.py", line 80, in write
self.translate()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 550, in translate
self.assemble_my_parts()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 567, in
assemble_my_parts
s1 = self.get_stylesheet()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 614, in
get_stylesheet
s1 = self.visitor.setup_page()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1005, in
setup_page
self.add_header_footer(self.dom_stylesheet)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1056, in
add_header_footer
nsdict=STYLES_NAMESPACE_DICT,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 285, in
SubElement
parent.append(el)
TypeError: must be xml.etree.ElementTree.Element, not
_ElementInterfaceWrapper
======================================================================
ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 156, in test_odt_tables1
self.process_test('odt_tables1.txt', 'odt_tables1.odt',
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 104, in process_test
settings_overrides=settings_overrides)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\__init__.py", line 80, in write
self.translate()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 550, in translate
self.assemble_my_parts()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 567, in
assemble_my_parts
s1 = self.get_stylesheet()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 614, in
get_stylesheet
s1 = self.visitor.setup_page()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1005, in
setup_page
self.add_header_footer(self.dom_stylesheet)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1071, in
add_header_footer
nsdict=STYLES_NAMESPACE_DICT,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 285, in
SubElement
parent.append(el)
TypeError: must be xml.etree.ElementTree.Element, not
_ElementInterfaceWrapper
======================================================================
FAIL: test_heuristics_no_utf8 (test_io.InputTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_io.py", line 118, in test_heuristics_no_utf8
'latin-1'))
AssertionError: False is not true
======================================================================
FAIL: test_find_file_in_dirs (test_utils.HelperFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_utils.py", line 295, in test_find_file_in_dirs
'../HISTORY.txt')
AssertionError: '..\\HISTORY.txt' != '../HISTORY.txt'
- ..\HISTORY.txt
? ^
+ ../HISTORY.txt
? ^
======================================================================
FAIL: test_writers\test_html4css1_template.py: totest['template'][0];
test_publish (DocutilsTestSupport.WriterPublishTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 729, in test_publish
self.compare_output(self.input, output, self.expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 244, in compare_output
raise error
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 231, in compare_output
self.assertEqual(output, expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 123, in assertEqual
msg or '%s != %s' % _format_str(first, second))
AssertionError: '''\
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="C:/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="C:/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
title = """\\
Document Title"""
subtitle = """\\
Subtitle"""
header = """\\
"""
footer = """\\
<div class="footer">
<hr class="footer" />
footer text
</div>"""
meta = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="author" content="Me" />"""
fragment = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
html_prolog = """\\
<?xml version="1.0" encoding="%s" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"""
html_head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=%s" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
html_title = """\\
<h1 class="title">Document Title</h1>"""
html_subtitle = """\\
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
html_body = """\\
<div class="document" id="document-title">
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>"""''' != '''\
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
title = """\\
Document Title"""
subtitle = """\\
Subtitle"""
header = """\\
"""
footer = """\\
<div class="footer">
<hr class="footer" />
footer text
</div>"""
meta = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="author" content="Me" />"""
fragment = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
html_prolog = """\\
<?xml version="1.0" encoding="%s" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"""
html_head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=%s" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
html_title = """\\
<h1 class="title">Document Title</h1>"""
html_subtitle = """\\
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
html_body = """\\
<div class="document" id="document-title">
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>"""'''
======================================================================
FAIL: test_writers\test_s5.py: totest['basics'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 729, in test_publish
self.compare_output(self.input, output, self.expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 244, in compare_output
raise error
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 231, in compare_output
self.assertEqual(output, expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 123, in assertEqual
msg or '%s != %s' % _format_str(first, second))
AssertionError: '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Show Title</title>
<link rel="stylesheet" href="C:/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Show Title</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Show Title</h1>
<p>Title slide</p>
</div>
<div class="slide" id="first-slide">
<h1>First Slide</h1>
<p>Slide text.</p>
</div>
</div>
</body>
</html>''' != '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Show Title</title>
<link rel="stylesheet" href="/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Show Title</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Show Title</h1>
<p>Title slide</p>
</div>
<div class="slide" id="first-slide">
<h1>First Slide</h1>
<p>Slide text.</p>
</div>
</div>
</body>
</html>'''
======================================================================
FAIL: test_writers\test_s5.py: totest['settings'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 729, in test_publish
self.compare_output(self.input, output, self.expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 244, in compare_output
raise error
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 231, in compare_output
self.assertEqual(output, expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 123, in assertEqual
msg or '%s != %s' % _format_str(first, second))
AssertionError: '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Bogus Slide Show</title>
<link rel="stylesheet" href="C:/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="outline" />
<meta name="controlVis" content="visible" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Bogus Slide Show</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Bogus Slide Show</h1>
<p>We\'re just checking the settings</p>
</div>
</div>
</body>
</html>''' != '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Bogus Slide Show</title>
<link rel="stylesheet" href="/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="outline" />
<meta name="controlVis" content="visible" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Bogus Slide Show</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Bogus Slide Show</h1>
<p>We\'re just checking the settings</p>
</div>
</div>
</body>
</html>'''
----------------------------------------------------------------------
Ran 1242 tests in 11.210s
FAILED (failures=5, errors=3)
Elapsed time: 11.912 seconds
Working directory: C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3
Docutils package: C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils
................................................F...........................
............................................................................
............................................................................
..........................F.................................................
............................................................................
............................................................................
...................
test_writers\test_html4css1_template.py: totest['template'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
input:
b'================\n Document Title\n================\n----------\n
Subtitle\n----------\n\n:Author: Me\n\n.. footer:: footer
text\n\nSection\n=======\n\nSome text.\n'
-: expected
+: output
head_prefix = """\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\
- <link rel="stylesheet" href="/test.css" type="text/css" />"""
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />"""
? ++
body_prefix = """\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
head_prefix = """\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\
- <link rel="stylesheet" href="/test.css" type="text/css" />"""
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />"""
? ++
body_prefix = """\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
title = """\
Document Title"""
subtitle = """\
Subtitle"""
header = """\
"""
footer = """\
<div class="footer">
<hr class="footer" />
footer text
</div>"""
meta = """\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="author" content="Me" />"""
fragment = """\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
html_prolog = """\
<?xml version="1.0" encoding="%s" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"""
html_head = """\
<meta http-equiv="Content-Type" content="text/html; charset=%s" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
html_title = """\
<h1 class="title">Document Title</h1>"""
html_subtitle = """\
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
html_body = """\
<div class="document" id="document-title">
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>"""
F.........................EEE.
test_writers\test_s5.py: totest['basics'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
input:
b'============\n Show Title\n============\n\nTitle slide\n\nFirst
Slide\n===========\n\nSlide text.\n'
-: expected
+: output
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Show Title</title>
- <link rel="stylesheet" href="/test.css" type="text/css" />
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />
? ++
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Show Title</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Show Title</h1>
<p>Title slide</p>
</div>
<div class="slide" id="first-slide">
<h1>First Slide</h1>
<p>Slide text.</p>
</div>
</div>
</body>
</html>
F
test_writers\test_s5.py: totest['settings'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
input:
b"==================\n Bogus Slide Show\n==================\n\nWe're just
checking the settings\n"
-: expected
+: output
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Bogus Slide Show</title>
- <link rel="stylesheet" href="/test.css" type="text/css" />
+ <link rel="stylesheet" href="C:/test.css" type="text/css" />
? ++
<!-- configuration parameters -->
<meta name="defaultView" content="outline" />
<meta name="controlVis" content="visible" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Bogus Slide Show</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Bogus Slide Show</h1>
<p>We're just checking the settings</p>
</div>
</div>
</body>
</html>
F...........................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
....................................................
======================================================================
ERROR: test_odt_basic (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 151, in test_odt_basic
self.process_test('odt_basic.txt', 'odt_basic.odt',
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 104, in process_test
settings_overrides=settings_overrides)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\__init__.py", line 80, in write
self.translate()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 550, in translate
self.assemble_my_parts()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 567, in
assemble_my_parts
s1 = self.get_stylesheet()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 614, in
get_stylesheet
s1 = self.visitor.setup_page()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1005, in
setup_page
self.add_header_footer(self.dom_stylesheet)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1071, in
add_header_footer
nsdict=STYLES_NAMESPACE_DICT,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 285, in
SubElement
parent.append(el)
TypeError: must be xml.etree.ElementTree.Element, not
_ElementInterfaceWrapper
======================================================================
ERROR: test_odt_custom_headfoot (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 166, in test_odt_custom_headfoot
settings_overrides=settings_overrides,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 104, in process_test
settings_overrides=settings_overrides)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\__init__.py", line 80, in write
self.translate()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 550, in translate
self.assemble_my_parts()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 567, in
assemble_my_parts
s1 = self.get_stylesheet()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 614, in
get_stylesheet
s1 = self.visitor.setup_page()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1005, in
setup_page
self.add_header_footer(self.dom_stylesheet)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1056, in
add_header_footer
nsdict=STYLES_NAMESPACE_DICT,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 285, in
SubElement
parent.append(el)
TypeError: must be xml.etree.ElementTree.Element, not
_ElementInterfaceWrapper
======================================================================
ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 156, in test_odt_tables1
self.process_test('odt_tables1.txt', 'odt_tables1.odt',
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_writers\test_odt.py", line 104, in process_test
settings_overrides=settings_overrides)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\__init__.py", line 80, in write
self.translate()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 550, in translate
self.assemble_my_parts()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 567, in
assemble_my_parts
s1 = self.get_stylesheet()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 614, in
get_stylesheet
s1 = self.visitor.setup_page()
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1005, in
setup_page
self.add_header_footer(self.dom_stylesheet)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 1071, in
add_header_footer
nsdict=STYLES_NAMESPACE_DICT,
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\build\lib\docutils\writers\odf_odt\__init__.py", line 285, in
SubElement
parent.append(el)
TypeError: must be xml.etree.ElementTree.Element, not
_ElementInterfaceWrapper
======================================================================
FAIL: test_heuristics_no_utf8 (test_io.InputTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_io.py", line 118, in test_heuristics_no_utf8
'latin-1'))
AssertionError: False is not true
======================================================================
FAIL: test_find_file_in_dirs (test_utils.HelperFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\test_utils.py", line 295, in test_find_file_in_dirs
'../HISTORY.txt')
AssertionError: '..\\HISTORY.txt' != '../HISTORY.txt'
- ..\HISTORY.txt
? ^
+ ../HISTORY.txt
? ^
======================================================================
FAIL: test_writers\test_html4css1_template.py: totest['template'][0];
test_publish (DocutilsTestSupport.WriterPublishTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 729, in test_publish
self.compare_output(self.input, output, self.expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 244, in compare_output
raise error
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 231, in compare_output
self.assertEqual(output, expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 123, in assertEqual
msg or '%s != %s' % _format_str(first, second))
AssertionError: '''\
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="C:/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="C:/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
title = """\\
Document Title"""
subtitle = """\\
Subtitle"""
header = """\\
"""
footer = """\\
<div class="footer">
<hr class="footer" />
footer text
</div>"""
meta = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="author" content="Me" />"""
fragment = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
html_prolog = """\\
<?xml version="1.0" encoding="%s" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"""
html_head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=%s" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
html_title = """\\
<h1 class="title">Document Title</h1>"""
html_subtitle = """\\
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
html_body = """\\
<div class="document" id="document-title">
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>"""''' != '''\
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
head_prefix = """\\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>"""
head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
stylesheet = """\\
<link rel="stylesheet" href="/test.css" type="text/css" />"""
body_prefix = """\\
</head>
<body>
<div class="document" id="document-title">"""
body_pre_docinfo = """\\
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
docinfo = """\\
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>"""
body = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
body_suffix = """\\
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>
</body>
</html>"""
title = """\\
Document Title"""
subtitle = """\\
Subtitle"""
header = """\\
"""
footer = """\\
<div class="footer">
<hr class="footer" />
footer text
</div>"""
meta = """\\
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="author" content="Me" />"""
fragment = """\\
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>"""
html_prolog = """\\
<?xml version="1.0" encoding="%s" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"""
html_head = """\\
<meta http-equiv="Content-Type" content="text/html; charset=%s" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<title>Document Title</title>
<meta name="author" content="Me" />"""
html_title = """\\
<h1 class="title">Document Title</h1>"""
html_subtitle = """\\
<h2 class="subtitle" id="subtitle">Subtitle</h2>"""
html_body = """\\
<div class="document" id="document-title">
<h1 class="title">Document Title</h1>
<h2 class="subtitle" id="subtitle">Subtitle</h2>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Me</td></tr>
</tbody>
</table>
<div class="section" id="section">
<h1>Section</h1>
<p>Some text.</p>
</div>
</div>
<div class="footer">
<hr class="footer" />
footer text
</div>"""'''
======================================================================
FAIL: test_writers\test_s5.py: totest['basics'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 729, in test_publish
self.compare_output(self.input, output, self.expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 244, in compare_output
raise error
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 231, in compare_output
self.assertEqual(output, expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 123, in assertEqual
msg or '%s != %s' % _format_str(first, second))
AssertionError: '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Show Title</title>
<link rel="stylesheet" href="C:/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Show Title</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Show Title</h1>
<p>Title slide</p>
</div>
<div class="slide" id="first-slide">
<h1>First Slide</h1>
<p>Slide text.</p>
</div>
</div>
</body>
</html>''' != '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Show Title</title>
<link rel="stylesheet" href="/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Show Title</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Show Title</h1>
<p>Title slide</p>
</div>
<div class="slide" id="first-slide">
<h1>First Slide</h1>
<p>Slide text.</p>
</div>
</div>
</body>
</html>'''
======================================================================
FAIL: test_writers\test_s5.py: totest['settings'][0]; test_publish
(DocutilsTestSupport.WriterPublishTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 729, in test_publish
self.compare_output(self.input, output, self.expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 244, in compare_output
raise error
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 231, in compare_output
self.assertEqual(output, expected)
File "C:\Users\vgnelica\Downloads\docutils-0.11\docutils-
0.11\test3\DocutilsTestSupport.py", line 123, in assertEqual
msg or '%s != %s' % _format_str(first, second))
AssertionError: '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Bogus Slide Show</title>
<link rel="stylesheet" href="C:/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="outline" />
<meta name="controlVis" content="visible" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Bogus Slide Show</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Bogus Slide Show</h1>
<p>We\'re just checking the settings</p>
</div>
</div>
</body>
</html>''' != '''\
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11:
http://docutils.sourceforge.net/" />
<meta name="version" content="S5 1.1" />
<title>Bogus Slide Show</title>
<link rel="stylesheet" href="/test.css" type="text/css" />
<!-- configuration parameters -->
<meta name="defaultView" content="outline" />
<meta name="controlVis" content="visible" />
<!-- style sheet links -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<link rel="stylesheet" href="ui/default/slides.css"
type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css"
type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css"
type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css"
type="text/css" media="projection" id="operaFix" />
<style type="text/css">
#currentSlide {display: none;}
</style>
</head>
<body>
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
<div id="header">
</div>
<div id="footer">
<h1>Bogus Slide Show</h1>
</div>
</div>
<div class="presentation">
<div class="slide" id="slide0">
<h1 class="title">Bogus Slide Show</h1>
<p>We\'re just checking the settings</p>
</div>
</div>
</body>
</html>'''
----------------------------------------------------------------------
Ran 1242 tests in 11.210s
FAILED (failures=5, errors=3)
Elapsed time: 11.912 seconds