Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

Commit

Permalink
Fix test failures caused by zope.tal 4.0.0a1.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Feb 26, 2013
1 parent 72edad8 commit 18c45b5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def read(*rnames):
'zope.app.securitypolicy',
'zope.app.testing',
'zope.testing',
'zope.tal >= 4.0.0a1', # attribute order changes
],
),
install_requires = [
Expand Down
36 changes: 18 additions & 18 deletions src/z3c/contents/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Now we can create a ContentsPage:
>>> print firstPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div>
<fieldset>
Expand Down Expand Up @@ -195,7 +195,7 @@ Now let's update and render the contents page again:
>>> print firstPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div>
<fieldset>
Expand Down Expand Up @@ -299,7 +299,7 @@ number names and not on the number itself.
>>> print sortingPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div>
<fieldset>
Expand Down Expand Up @@ -397,7 +397,7 @@ Let's make coverage happy and sort on the rename column:
>>> print sortingPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<tbody>
<tr>
Expand Down Expand Up @@ -452,7 +452,7 @@ no buttons:
>>> print secondPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div>
<fieldset>
Expand Down Expand Up @@ -511,7 +511,7 @@ be able to paste objects within the same container they're copied from.
>>> print copyPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div class="status">
<div class="summary">Items choosen for copy</div>
Expand Down Expand Up @@ -623,7 +623,7 @@ from another container.
>>> print pastePage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div class="status">
<div class="summary">Data successfully pasted</div>
Expand Down Expand Up @@ -710,7 +710,7 @@ container.
>>> print cutPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<div class="status">
<div class="summary">Items selected for cut</div>
Expand Down Expand Up @@ -762,7 +762,7 @@ And we can paste the selectded items to the second container:
>>> print pastePage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div class="status">
<div class="summary">Data successfully pasted</div>
Expand Down Expand Up @@ -850,7 +850,7 @@ gone:
>>> print firstPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div>
<fieldset>
Expand Down Expand Up @@ -942,7 +942,7 @@ items and click the delete button:
>>> print deletePage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<div class="status">
<div class="summary">Data successfully deleted</div>
Expand Down Expand Up @@ -976,7 +976,7 @@ do the renaming. Let's setup a table which we select items and click the
>>> print renamePage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<tbody>
<tr>
Expand Down Expand Up @@ -1013,7 +1013,7 @@ Now we rename the ``second`` item to ``fifth``:
>>> print renamePage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<div class="status">
<div class="summary">Could not rename all selected items</div>
Expand Down Expand Up @@ -1055,7 +1055,7 @@ error. Let's test this:
>>> print renamePage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<div class="status">
<div class="summary">Could not rename all selected items</div>
Expand Down Expand Up @@ -1116,7 +1116,7 @@ container or to any possible string attribute.
>>> print searchPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<tbody>
<tr>
Expand Down Expand Up @@ -1156,7 +1156,7 @@ sort the table by that column.
>>> print headerPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<thead>
<tr>
Expand All @@ -1179,7 +1179,7 @@ included in the query so as to maintain the search across views.
>>> print searchPage.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
...
<thead>
<tr>
Expand Down Expand Up @@ -1212,7 +1212,7 @@ row CSS class markers. The default batch size is set to ``25``:
>>> print contents.render()
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
name="contents" id="contents">
id="contents" name="contents">
<div class="viewspace">
<div>
<fieldset>
Expand Down

0 comments on commit 18c45b5

Please sign in to comment.