Mercurial > hg > ltpdarepo
changeset 171:f1cc11dc09b7
Reflect markup changes into doctests.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Sun, 06 Nov 2011 23:15:25 +0100 |
parents | e90a806a3116 |
children | c690b879ddee |
files | src/ltpdarepo/tests/browse-user.txt src/ltpdarepo/tests/manage-databases.txt src/ltpdarepo/tests/manage-queries.txt |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ltpdarepo/tests/browse-user.txt Sun Nov 06 18:07:07 2011 +0100 +++ b/src/ltpdarepo/tests/browse-user.txt Sun Nov 06 23:15:25 2011 +0100 @@ -45,9 +45,9 @@ >>> browser.url 'http://localhost/user/u1' >>> browser.contents - '...<p class="field"><span class="label">Name:</span>User One</p>...' + '...<dt>Name</dt><dd>User One</dd>...' >>> browser.contents - '...<p class="field"><span class="label">Email:</span>u1@example.net</p>...' + '...<dt>Email</dt><dd>u1@example.net</dd>...' Change password::
--- a/src/ltpdarepo/tests/manage-databases.txt Sun Nov 06 18:07:07 2011 +0100 +++ b/src/ltpdarepo/tests/manage-databases.txt Sun Nov 06 23:15:25 2011 +0100 @@ -54,7 +54,7 @@ >>> browser.contents '...<div class="flash message">Database modified.</div>...' >>> browser.contents - '...<p class="field"><span class="label">Description:</span> Test Database One</p>...' + '...<dt>Description</dt><dd>Test Database One</dd>...' Test permissions. The user should have no permissions on the new database::
--- a/src/ltpdarepo/tests/manage-queries.txt Sun Nov 06 18:07:07 2011 +0100 +++ b/src/ltpdarepo/tests/manage-queries.txt Sun Nov 06 23:15:25 2011 +0100 @@ -44,9 +44,9 @@ >>> browser.contents '...<h2>Query «Query»</h2>...' >>> browser.contents - '...<p class="field"><span class="label">Database:</span> <tt>^(db1)$</tt></p>...' + '...<dt>Database</dt><dd><tt>^(db1)$</tt></dd>...' >>> browser.contents - '...<p class="field"><span class="label">Query:</span> <tt>id > \'0\' AND name LIKE \'%\'</tt></p>...' + '...<dt>Query</dt><dd><tt>id > \'0\' AND name LIKE \'%\'</tt></dd>...' Edit:: @@ -73,7 +73,7 @@ >>> browser.contents '...<h2>Query «yreuQ»</h2>...' >>> browser.contents - '...<p class="field"><span class="label">Database:</span> <tt>^(db1|db2)$</tt></p>...' + '...<dt>Database</dt><dd><tt>^(db1|db2)$</tt></dd>...' Drop can be cancelled::