[Checkins] SVN: z3c.tabular/trunk/s Fix test failures caused by zope.tal 4.0.0a1.
Marius Gedminas
cvs-admin at zope.org
Tue Feb 26 17:50:03 UTC 2013
Log message for revision 129854:
Fix test failures caused by zope.tal 4.0.0a1.
Changed:
U z3c.tabular/trunk/setup.py
U z3c.tabular/trunk/src/z3c/tabular/README.txt
U z3c.tabular/trunk/src/z3c/tabular/tests.py
-=-
Modified: z3c.tabular/trunk/setup.py
===================================================================
--- z3c.tabular/trunk/setup.py 2013-02-26 17:47:48 UTC (rev 129853)
+++ z3c.tabular/trunk/setup.py 2013-02-26 17:50:03 UTC (rev 129854)
@@ -61,6 +61,7 @@
'zope.browserpage',
'zope.publisher',
'zope.testing',
+ 'zope.tal >= 4.0.0a', # attribute order changes
],
),
install_requires = [
Modified: z3c.tabular/trunk/src/z3c/tabular/README.txt
===================================================================
--- z3c.tabular/trunk/src/z3c/tabular/README.txt 2013-02-26 17:47:48 UTC (rev 129853)
+++ z3c.tabular/trunk/src/z3c/tabular/README.txt 2013-02-26 17:50:03 UTC (rev 129854)
@@ -124,7 +124,7 @@
>>> print contentSubFormTable.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
- name="subFormTable" id="subFormTable">
+ id="subFormTable" name="subFormTable">
<div class="viewspace">
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
@@ -186,7 +186,7 @@
>>> selectedItemTable.__name__ = 'view.html'
>>> selectedItemTable.update()
>>> print selectedItemTable.render()
- <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" name="subFormTable" id="subFormTable">
+ <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" id="subFormTable" name="subFormTable">
<div class="viewspace">
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
@@ -215,7 +215,7 @@
</td>
<td valign="top">
<div class="tableForm">
- <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" name="form" id="form">
+ <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" id="form" name="form">
<div class="viewspace">
<div class="required-info">
<span class="required">*</span>– required
@@ -277,7 +277,7 @@
>>> selectedItemTable.__name__ = 'view.html'
>>> selectedItemTable.update()
>>> print selectedItemTable.render()
- <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" name="subFormTable" id="subFormTable">
+ <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" id="subFormTable" name="subFormTable">
<div class="viewspace">
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
@@ -306,7 +306,7 @@
</td>
<td valign="top">
<div class="tableForm">
- <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" name="form" id="form">
+ <form action="http://127.0.0.1" method="post" enctype="multipart/form-data" class="edit-form" id="form" name="form">
<div class="viewspace">
<div class="required-info">
<span class="required">*</span>– required
@@ -371,7 +371,7 @@
>>> print selectedItemTable.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
- name="subFormTable" id="subFormTable">
+ id="subFormTable" name="subFormTable">
<div class="viewspace">
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
Modified: z3c.tabular/trunk/src/z3c/tabular/tests.py
===================================================================
--- z3c.tabular/trunk/src/z3c/tabular/tests.py 2013-02-26 17:47:48 UTC (rev 129853)
+++ z3c.tabular/trunk/src/z3c/tabular/tests.py 2013-02-26 17:50:03 UTC (rev 129854)
@@ -50,10 +50,13 @@
def test_suite():
+ optionflags = (doctest.NORMALIZE_WHITESPACE
+ |doctest.ELLIPSIS
+ |doctest.REPORT_NDIFF)
return unittest.TestSuite((
doctest.DocFileSuite('README.txt',
setUp=testing.setUp, tearDown=testing.tearDown,
- optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
+ optionflags=optionflags,
),
unittest.makeSuite(TestFormTable),
))
More information about the checkins
mailing list