Yep, same as me except for the ERROR...
Thanks, Alberto
On 10/03/2006, at 22:03, Jorge Godoy wrote:
>
> Alberto Valverde <[EMAIL PROTECTED]> writes:
>
>> Can you try nosetesting all TG? I get 4 fails for this... (they were
>> there too before my patch :)
>
> This is more than you asked for, but here it is ;-)
>
>
> jupiter:/home/godoy/desenvolvimento/python/TurboGears/trunk #
> nosetests
> .............................................................E........
> ......./home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/visit.py:110: DeprecationWarning: visit.key is more
> likely to be unique than visit.id
> DeprecationWarning )
> ..................................FF.................F................
> ........F
> ======================================================================
> ERROR: test module turbogears.tests.test_i18n in /home/godoy/
> desenvolvimento/python/TurboGears/trunk
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> core.py", line 409, in run
> self.setUp()
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> core.py", line 588, in setUp
> self.module = self.loader._import(self.module_name, self.path)
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> core.py", line 263, in _import
> module = nose.importer._import(name, [path])
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> importer.py", line 64, in _import
> mod = load_module(fqname, fh, filename, desc)
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/tests/test_i18n.py", line 31, in ?
> sogettext.create_so_catalog(["en","fi"], "messages")
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/i18n/sogettext/__init__.py", line 58, in create_so_catalog
> TG_Message.dropTable(ifExists=True)
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> thirdparty/sqlobject/sqlobject/main.py", line 1308, in dropTable
> conn = connection or cls._connection
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> thirdparty/sqlobject/sqlobject/dbconnection.py", line 881, in __get__
> return self.getConnection()
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/database.py", line 69, in getConnection
> raise AttributeError(
> AttributeError: No connection has been defined for this thread or
> process
> -------------------- >> begin captured stdout << ---------------------
> ["Foo", "Bar", "Baz"]
> [u'Foo', u'Bar', u'Baz']
>
> --------------------- >> end captured stdout << ----------------------
>
>
> ======================================================================
> FAIL: turbogears.widgets.tests.test_widgets.test_widget_css
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> core.py", line 113, in runTest
> self.testFunc()
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/widgets/tests/test_widgets.py", line 148, in
> test_widget_css
> assert 'h1 { color: black }' in rendered
> AssertionError:
> -------------------- >> begin captured stdout << ---------------------
> CSSLink(name='foo.css', media='all') CSSLink(name='foo.css',
> media='all')
> turbogears.widgets foo.css
> turbogears.widgets foo.css
> <link media="all" href="/tg_widgets/turbogears.widgets/foo.css"
> type="text/css" rel="stylesheet">
> <link media="printer" href="/tg_widgets/turbogears.widgets/foo.css"
> type="text/css" rel="stylesheet">
> <style media="all" type="text/css"></style>
>
> --------------------- >> end captured stdout << ----------------------
>
>
> ======================================================================
> FAIL: turbogears.widgets.tests.test_widgets.test_widget_js
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> core.py", line 113, in runTest
> self.testFunc()
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/widgets/tests/test_widgets.py", line 173, in test_widget_js
> assert rendered == expected
> AssertionError:
> -------------------- >> begin captured stdout << ---------------------
> <SCRIPT SRC="/tg_widgets/turbogears.widgets/foo.js" TYPE="text/
> javascript"></SCRIPT>
> <SCRIPT SRC="/tg_widgets/turbogears.widgets/foo.js" TYPE="text/
> javascript"></SCRIPT>
> <SCRIPT TYPE="text/javascript"></SCRIPT>
> <SCRIPT TYPE="text/javascript">alert('hello');</SCRIPT>
>
> --------------------- >> end captured stdout << ----------------------
>
>
> ======================================================================
> FAIL: turbogears.widgets.tests.test_forms.test_javascriptsets
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> core.py", line 113, in runTest
> self.testFunc()
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/widgets/tests/test_forms.py", line 66, in
> test_javascriptsets
> assert len(form.retrieve_javascript()) == 3
> AssertionError:
>
>
> ======================================================================
> FAIL:
> turbogears.widgets.tests.test_link_inclusion.test_table_widget_js
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/
> core.py", line 113, in runTest
> self.testFunc()
> File "/home/godoy/desenvolvimento/python/TurboGears/trunk/
> turbogears/widgets/tests/test_link_inclusion.py", line 29, in
> test_table_widget_js
> assert "alert('hello');" in output
> AssertionError:
> -------------------- >> begin captured stdout << ---------------------
> 2006-03-10 18:02:24,962 turbokid.kidsupport DEBUG Recompiling
> template for turbogears.widgets.tests.form
> 2006-03-10 18:02:24,977 turbokid.kidsupport DEBUG Applying template
> turbogears.widgets.tests.form
> localhost - - [10/Mar/2006:18:02:25] "GET /test HTTP/1.1" 200 1120
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <HTML>
> <HEAD><META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-
> Type">
> <LINK MEDIA="all" HREF="/tg_widgets/turbogears.widgets/foo.css"
> TYPE="text/css" REL="stylesheet">
>
> <SCRIPT SRC="/tg_widgets/turbogears.widgets/foo.js" TYPE="text/
> javascript">
> </SCRIPT>
>
> </HEAD>
> <BODY>
>
> <FORM ACTION="" NAME="form" METHOD="post">
>
> <TABLE BORDER="0">
> <TR>
> <TD>
> <LABEL CLASS="fieldlabel"
> FOR="form_title">Title</LABEL>
> </TD>
> <TD>
> <INPUT ID="form_title" TYPE="text"
> CLASS="textfield" NAME="title">
>
>
>
> </TD>
> </TR>
> <TR>
> <TD> </TD>
> <TD>
> <INPUT TYPE="submit" CLASS="submitbutton">
>
> </TD>
> </TR>
> </TABLE>
> </FORM>
>
> </BODY>
> </HTML>
> <br/><br/>Build time: 0.046s, Page size: 1.05KB
>
> --------------------- >> end captured stdout << ----------------------
>
>
> ----------------------------------------------------------------------
> Ran 155 tests in 27.355s
>
> FAILED (failures=4, errors=1)
> jupiter:/home/godoy/desenvolvimento/python/TurboGears/trunk #
>
> --
> Jorge Godoy <[EMAIL PROTECTED]>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---