[Grok-dev] dolmen-kgs-0.6.2 test failing

Aroldo Souza-Leite asouzaleite at gmx.de
Wed Jul 6 06:53:03 EDT 2011


Hi list,

the Dolmen test has 1 failure.

Ubuntu Lucid Lynx, Python-2.7, fresh virtual environment.

Thanks.

Aroldo.


-------------------

(grok-env)aroldo at aroldo-laptop:~/tmp/python/grok-env/MyDolmen$ bin/test
Running tests at level 1
Running mydolmen.tests.ZopeFanstaticBrowserLayer tests:
   Set up 
mydolmen.tests.ZopeFanstaticBrowserLayer/home/aroldo/.buildout-eggs/grokcore.view-2.3-py2.7.egg/grokcore/view/templatereg.py:207: 
UserWarning: Found the following unassociated template after 
configuration: 
/home/aroldo/.buildout-eggs/dolmen.app.layout-1.0b2-py2.7.egg/dolmen/app/layout/viewlets_templates/menu.pt
   warnings.warn(msg, UserWarning, 1)
  in 2.752 seconds.
   Running:
..

Failure in test 
/home/aroldo/tmp/python/grok-env/MyDolmen/src/mydolmen/tests/app.txt
Failed doctest test for app.txt
   File 
"/home/aroldo/tmp/python/grok-env/MyDolmen/src/mydolmen/tests/app.txt", 
line 0

----------------------------------------------------------------------
File 
"/home/aroldo/tmp/python/grok-env/MyDolmen/src/mydolmen/tests/app.txt", 
line 26, in app.txt
Failed example:
     browser.url
Differences (ndiff with -expected +actual):
     - 'http://localhost/app'
     + 
'http://localhost/app/@@login?camefrom=http%3A%2F%2Flocalhost%2Fapp%2F%40%40index'
----------------------------------------------------------------------
File 
"/home/aroldo/tmp/python/grok-env/MyDolmen/src/mydolmen/tests/app.txt", 
line 29, in app.txt
Failed example:
     print browser.contents
Differences (ndiff with -expected +actual):
     - <html>
     + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/x
     + html1/DTD/xhtml1-strict.dtd">
     + <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
     + <BLANKLINE>
     - <head>
     + <head>
     ? ++
     - <link rel="stylesheet" type="text/css" 
href="http://localhost/fanstatic/mydolmen/style.css" />
     
?                                                                          
-----   ^ ^
     + <link rel="stylesheet" type="text/css" 
href="http://localhost/fanstatic/menhir.skin.lightblue/lightblue.css" />
     ? 
++++                                                                           
++++++++++++++++++ ^^^^ ^ +
     + <script type="text/javascript" 
src="http://localhost/fanstatic/jquery/jquery.js"></script>
     + <script type="text/javascript" 
src="http://localhost/fanstatic/menhir.skin.lightblue/dropdown.js"></script>
     + <script type="text/javascript" 
src="http://localhost/fanstatic/jquery_metadata/jquery.metadata.js"></script>
     + <script type="text/javascript" 
src="http://localhost/fanstatic/jquery_tablesorter/jquery.tablesorter.js"></script>
     + <script type="text/javascript" 
src="http://localhost/fanstatic/menhir.skin.lightblue/table.js"></script>
     + <BLANKLINE>
     - <base href="http://localhost/app/@@index" />
     ?                                  -------
     + <base href="http://localhost/app/" />
     ? ++++
     + <title>My Mydolmen site</title>
     + <BLANKLINE>
     - </head>
     + </head>
     ? ++
     - <body>
     + <body>
     ? ++
     - <h1>Congratulations!</h1>
     - <p>Your Grok application is up and running.
     -   Edit <code>mydolmen/app_templates/index.pt</code> to change
     -   this page.</p>
     - <img src="http://localhost/fanstatic/mydolmen/evencaveman.jpg" />
     + <div id="page">
     + <div id="dolmen-site">
     + <div id="dolmen-header"><div id="breadcrumb">
     + <span class="you-are-here">You are here :</span>
     + <BLANKLINE>
     + <BLANKLINE>
     + <BLANKLINE>
     + <BLANKLINE>
     + <span class="crumb">
     + <a href="http://localhost/app">app</a>
     + <BLANKLINE>
     + </span>
     + <BLANKLINE>
     + </div>
     + </div>
     + <BLANKLINE>
     + <div id="blue-body">
     + <div id="dolmen-body">
     + <div id="dolmen-above-body">
     + </div>
     +
     + <div id="dolmen-inner-body"><form 
action="http://localhost/app/@@login" method="post" 
enctype="multipart/form-data">
     + <BLANKLINE>
     + <h1>Identify yourself</h1>
     + <BLANKLINE>
     + <BLANKLINE>
     + <BLANKLINE>
     + <BLANKLINE>
     + <BLANKLINE>
     + <BLANKLINE>
     + <BLANKLINE>
     + <fieldset>
     + <div class="fields">
     + <div class="field">
     + <label class="field-label" for="login">Username</label>
     + <span class="required-marker">
     + <span>(required)</span>
     + </span>
     +
     +
     + <div class="widget">
     + <input type="text" value="" id="login" class="field 
field-textline field-required" name="login" />
     + </div>
     + </div>
     + <div class="field">
     + <label class="field-label" for="password">Password</label>
     + <span class="required-marker">
     + <span>(required)</span>
     + </span>
     +
     +
     + <div class="widget">
     + <input id="password" name="password" value="" type="password" />
     + </div>
     + </div>
     + <BLANKLINE>
     + </div>
     + <BLANKLINE>
     + <div class="actions">
     + <input type="submit" id="action-log-in" name="action.log-in" 
value="Log in" class="action" />
     + </div>
     + </fieldset>
     + <BLANKLINE>
     + </form></div>
     +
     + <div id="dolmen-below-body"></div>
     + </div>
     + </div>
     + <BLANKLINE>
     + <div id="dolmen-footer"></div>
     + </div>
     + </div>
     - </body>
     + </body>
     ? ++
</html>


   Ran 2 tests with 1 failures and 0 errors in 0.624 seconds.
Running zope.testrunner.layer.UnitTests tests:
   Tear down mydolmen.tests.ZopeFanstaticBrowserLayer in 0.134 seconds.
   Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
   Running:
.
   Ran 1 tests with 0 failures and 0 errors in 0.000 seconds.
Tearing down left over layers:
   Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.

Tests with failures:
    /home/aroldo/tmp/python/grok-env/MyDolmen/src/mydolmen/tests/app.txt
Total: 3 tests, 1 failures, 0 errors in 3.751 seconds.
(grok-env)aroldo at aroldo-laptop:~/tmp/python/grok-env/MyDolmen$


More information about the Grok-dev mailing list