See <http://jenkins.turbogears.org/job/tg-2.1-py2.6/149/changes>

Changes:

[Alessandro Molina] Seems that default_engine option didn't force tw2 use the 
application engine

------------------------------------------
[...truncated 1345 lines...]
tests.test_stack.rendering.test_rendering.test_genshi_manual_render_auto_doctype
 ... ok
tests.test_stack.rendering.test_rendering.test_genshi_manual_render_html_doctype
 ... ok
tests.test_stack.rendering.test_toscawidgets.test_basic_form_rendering ... ok
test_authz_denied 
(tests.test_stack.test_authz.TestAllowOnlyAttributeAndDefaultAuthzDenialHandler)
 ... ok
test_authz_granted 
(tests.test_stack.test_authz.TestAllowOnlyAttributeAndDefaultAuthzDenialHandler)
 ... ok
test_authz_denied_with_require 
(tests.test_stack.test_authz.TestAllowOnlyAttributeInSubController) ... ok
test_authz_denied_without_require 
(tests.test_stack.test_authz.TestAllowOnlyAttributeInSubController) ... ok
test_authz_granted_with_require 
(tests.test_stack.test_authz.TestAllowOnlyAttributeInSubController) ... ok
test_authz_granted_without_require 
(tests.test_stack.test_authz.TestAllowOnlyAttributeInSubController) ... ok
test_authz_denied_with_require 
(tests.test_stack.test_authz.TestAllowOnlyDecoratorInSubController) ... ok
test_authz_denied_without_require 
(tests.test_stack.test_authz.TestAllowOnlyDecoratorInSubController) ... ok
test_authz_granted_with_require 
(tests.test_stack.test_authz.TestAllowOnlyDecoratorInSubController) ... ok
test_authz_granted_without_require 
(tests.test_stack.test_authz.TestAllowOnlyDecoratorInSubController) ... ok
test_authz_denied_with_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyAttribute) ... ok
test_authz_denied_without_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyAttribute) ... ok
test_authz_granted_with_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyAttribute) ... ok
test_authz_granted_without_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyAttribute) ... ok
test_authz_denied_with_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyDecorator) ... ok
test_authz_denied_without_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyDecorator) ... ok
test_authz_granted_with_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyDecorator) ... ok
test_authz_granted_without_require 
(tests.test_stack.test_authz.TestAppWideAuthzWithAllowOnlyDecorator) ... ok
test_logged_error (tests.test_stack.test_authz.TestLoggedErrorTGController) ... 
ok
test_logged_index (tests.test_stack.test_authz.TestLoggedErrorTGController) ... 
ok
test_authz_denied (tests.test_stack.test_authz.TestProtectedRESTContoller) ... 
ok
test_authz_granted (tests.test_stack.test_authz.TestProtectedRESTContoller) ... 
ok
test_authz_denied (tests.test_stack.test_authz.TestProtectedWSGIApplication) 
... ok
test_authz_granted (tests.test_stack.test_authz.TestProtectedWSGIApplication) 
... ok
test_authz_denied_in_root_controller (tests.test_stack.test_authz.TestRequire) 
... ok
test_authz_denied_in_sub_controller (tests.test_stack.test_authz.TestRequire) 
... ok
test_authz_granted_in_root_controller (tests.test_stack.test_authz.TestRequire) 
... ok
test_authz_granted_in_sub_controller (tests.test_stack.test_authz.TestRequire) 
... ok
test_not_found (tests.test_tg_controller_dispatch.TestNotFoundController) ... ok
test_not_found_blank (tests.test_tg_controller_dispatch.TestNotFoundController) 
... ok
test_not_found_unicode 
(tests.test_tg_controller_dispatch.TestNotFoundController) ... ok
test_not_found 
(tests.test_tg_controller_dispatch.TestNotFoundWithIndexController) ... ERROR
test_before_controller (tests.test_tg_controller_dispatch.TestTGController) ... 
ok
test_before_with_args (tests.test_tg_controller_dispatch.TestTGController) ... 
ok
test_custom_content_type_in_controller 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_custom_content_type_in_controller_charset 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_custom_content_type_in_decorator 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_custom_content_type_replace_header 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_custom_content_type_with_ugliness 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_default_with_args_a_b (tests.test_tg_controller_dispatch.TestTGController) 
... ok
test_default_with_empty_second_arg 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_default_with_query_arg 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_default_with_validator_fail 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_default_with_validator_fail2 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_default_with_validator_pass 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_default_with_validator_pass2 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_embedded_lookup_with_index_first 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_embedded_lookup_with_index_helper 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_embedded_lookup_with_index_method 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_embedded_lookup_with_index_second 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_extra_args_forces_default_lookup 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_lookup (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_lookup_with_args (tests.test_tg_controller_dispatch.TestTGController) ... 
ok
test_lookup_with_sub (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_mounted_wsgi_app_at_root 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_mounted_wsgi_app_at_subcontroller 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_multi_value_kw (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_new_before_controller (tests.test_tg_controller_dispatch.TestTGController) 
... ok
test_no_args (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_not_enough_args (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_one_extra_arg (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_optional_and_req_args (tests.test_tg_controller_dispatch.TestTGController) 
... ok
test_optional_and_req_args_at_root 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_post_with_mixed_args (tests.test_tg_controller_dispatch.TestTGController) 
... ok
test_posting_to_mounted_app 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_removed_spurious_content_type 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_request_for_wsgi_app_with_extension 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_response_type (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_self_calling_lookup_method 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_self_calling_lookup_multiple_calls_method 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_self_calling_lookup_simple_index 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_three_extra_args (tests.test_tg_controller_dispatch.TestTGController) ... 
ok
test_ticket_2351_bad_content_type 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_ticket_2412_with_named_arg 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_ticket_2412_with_ordered_arg 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_two_extra_args (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_unicode_default_dispatch 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_unknown_template (tests.test_tg_controller_dispatch.TestTGController) ... 
ok
test_validated_int (tests.test_tg_controller_dispatch.TestTGController) ... ok
test_validated_with_error_handler 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_validated_with_remote_error_handler 
(tests.test_tg_controller_dispatch.TestTGController) ... ok
test_valid_wsgi (tests.test_tg_controller_dispatch.TestWSGIAppController) ... ok
tests.test_util.test_get_partial_dict ... ok
tests.test_util.test_get_package_name ... ok
tests.test_util.test_get_project_name ... ok
tests.test_util.test_get_project_meta ... ok
tests.test_util.test_get_model ... ok
Ensure you can pass in a dictionary of validators ... ok
Test controller based validation ... ok
test_error_with_colon (tests.test_validation.TestTGController) ... ok
Ensure that both validated and unvalidated data make it through ... ok
Test that myform renders properly ... ok
Check @validate's handing of ToscaWidget forms instances ... ok
Test schema validation ... ok
Test form validation error message with redirect ... ok
Test translation of form validation error messages ... ok
test_hook_after_validation_error (tests.test_validation.TestTGController) ... ok
Catch regression on optional arguments being reverted to un-validated ... ok
test_tw2form_validation (tests.test_validation.TestTGController) ... ok
Ensure that multiple validators are applied correctly ... ok
Ensure that dict validation produces a full set of errors ... ok
test_validation_fails_with_no_error_handler 
(tests.test_validation.TestTGController) ... ok
Catch regression on positional argument validation with defaults ... ok

======================================================================
ERROR: test_not_found 
(tests.test_tg_controller_dispatch.TestNotFoundWithIndexController)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"<http://jenkins.turbogears.org/job/tg-2.1-py2.6/ws/tests/test_tg_controller_dispatch.py";,>
 line 492, in test_not_found
    r = self.app.get('/something', status=404)
  File 
"<http://jenkins.turbogears.org/job/tg-2.1-py2.6/ws/tg2env/lib/python2.6/site-packages/WebTest-1.2.4-py2.6.egg/webtest/__init__.py";,>
 line 734, in get
    expect_errors=expect_errors)
  File 
"<http://jenkins.turbogears.org/job/tg-2.1-py2.6/ws/tg2env/lib/python2.6/site-packages/WebTest-1.2.4-py2.6.egg/webtest/__init__.py";,>
 line 974, in do_request
    self._check_status(status, res)
  File 
"<http://jenkins.turbogears.org/job/tg-2.1-py2.6/ws/tg2env/lib/python2.6/site-packages/WebTest-1.2.4-py2.6.egg/webtest/__init__.py";,>
 line 1012, in _check_status
    "Bad response: %s (not %s)" % (res.status, status))
AppError: Bad response: 200 OK (not 404)

----------------------------------------------------------------------
XML: nosetests.xml
Name                                                                            
                    Stmts   Miss  Cover   Missing
---------------------------------------------------------------------------------------------------------------------------------
speaklater-1.2-py2.6.egg/speaklater                                             
                       76     37    51%   72, 95-99, 118, 121, 124, 127, 130, 
133, 139, 142, 145, 148, 151, 154, 157, 160, 163, 166, 169, 172, 175-177, 180, 
183, 186, 189, 192-195, 199-200
tests/__init__                                                                  
                        0      0   100%   
tests/base                                                                      
                       84      6    93%   95, 155-158, 161-163
tests/fixtures/__init__                                                         
                        0      0   100%   
tests/test_caching                                                              
                      113      0   100%   
tests/test_configuration                                                        
                       98      2    98%   89, 96
tests/test_controllers                                                          
                       56      0   100%   
tests/test_generic_json                                                         
                       52      4    92%   21-22, 49-50
tests/test_i18n                                                                 
                        8      0   100%   
tests/test_jsonify                                                              
                       49      5    90%   6, 26, 45-46, 58
tests/test_jsonify_sqlalchemy                                                   
                       60      7    88%   7-8, 58-60, 75, 94
tests/test_render                                                               
                       10      0   100%   
tests/test_rest_controller_dispatch                                             
                      513     23    96%   21-26, 49, 59, 92, 104, 108, 112, 
123, 135, 139, 143, 147, 166, 170, 223, 227, 351, 428-429
tests/test_stack/__init__                                                       
                       40      1    98%   12
tests/test_stack/config/__init__                                                
                        0      0   100%   
tests/test_stack/config/controllers/__init__                                    
                        0      0   100%   
tests/test_stack/config/controllers/root                                        
                       19      1    95%   30
tests/test_stack/config/test_config                                             
                       25      0   100%   
tests/test_stack/dispatch/__init__                                              
                        0      0   100%   
tests/test_stack/dispatch/controllers/__init__                                  
                        0      0   100%   
tests/test_stack/dispatch/controllers/root                                      
                      121     13    89%   32, 67, 84-85, 128, 151-152, 157-159, 
164, 188, 203
tests/test_stack/dispatch/test_config                                           
                       29      0   100%   
tests/test_stack/dispatch/test_url_dispatch                                     
                      139      3    98%   95-96, 154
tests/test_stack/fixture/__init__                                               
                        0      0   100%   
tests/test_stack/lib/__init__                                                   
                        0      0   100%   
tests/test_stack/lib/templatetools/__init__                                     
                        1      0   100%   
tests/test_stack/lib/templatetools/jinja_filters                                
                        8      2    75%   3-4
tests/test_stack/rendering/__init__                                             
                        0      0   100%   
tests/test_stack/rendering/controllers/__init__                                 
                        0      0   100%   
tests/test_stack/rendering/controllers/root                                     
                      167      7    96%   39, 99-100, 146, 150, 185, 201
tests/test_stack/rendering/templates/__init__                                   
                        0      0   100%   
tests/test_stack/rendering/templates/mako_base.mak                              
                       25      0   100%   
tests/test_stack/rendering/templates/mako_custom_format.mak                     
                       26      0   100%   
tests/test_stack/rendering/templates/mako_inherits.mak                          
                       39      5    87%   17-21
tests/test_stack/rendering/templates/mako_noop.mak                              
                       20      0   100%   
tests/test_stack/rendering/templates/sub/__init__                               
                        0      0   100%   
tests/test_stack/rendering/templatestests/overridden_js.mak                     
                       20      0   100%   
tests/test_stack/rendering/templatestests/test_stack/rendering/templates/mako_base.mak
                 25      0   100%   
tests/test_stack/rendering/templatestests/test_stack/rendering/templates/mako_inherits_dotted.mak
      39      5    87%   17-21
tests/test_stack/rendering/templatestests/test_stack/rendering/templates/mako_noop.mak
                 20      0   100%   
tests/test_stack/rendering/test_decorators                                      
                       31      0   100%   
tests/test_stack/rendering/test_dotted_rendering                                
                       59      4    93%   25-28
tests/test_stack/rendering/test_pagination                                      
                       68      0   100%   
tests/test_stack/rendering/test_rendering                                       
                      332     22    93%   29, 42-46, 264-277, 280-282, 313-314
tests/test_stack/rendering/test_toscawidgets                                    
                       13      0   100%   
tests/test_stack/test_authz                                                     
                      286      8    97%   134, 166, 171, 290-292, 295-296
tests/test_tg_controller_dispatch                                               
                      471     41    91%   100, 104, 112, 116, 120, 126, 133, 
137, 180, 281, 321, 329, 345, 349, 361-362, 366, 370-371, 375-376, 380, 384, 
388-389, 400-402, 412-414, 420-422, 431, 459-460, 493, 504, 512-513
tests/test_util                                                                 
                       20      0   100%   
tests/test_validation                                                           
                      194      8    96%   134-135, 144, 168, 244-247
tg/__init__                                                                     
                       12      0   100%   
tg/commands/__init__                                                            
                        0      0   100%   
tg/configuration/__init__                                                       
                        1      0   100%   
tg/configuration/app_config                                                     
                      391     77    80%   168-175, 222-223, 309-311, 317, 
371-373, 380, 509-510, 524-540, 563, 565, 569-573, 621, 657, 661, 701, 706-709, 
712-713, 715-716, 783, 786-789, 821-834, 852, 871-872, 881-887, 931, 934, 945, 
950-951, 957-961, 964, 970-972, 992, 994, 997
tg/controllers/__init__                                                         
                        8      0   100%   
tg/controllers/decoratedcontroller                                              
                      203     35    83%   16-20, 41-42, 49-54, 119, 128, 291, 
297-301, 312-313, 338, 347, 389-390, 437-444, 454-457
tg/controllers/dispatcher                                                       
                       90      8    91%   41, 52-53, 124-126, 136-138, 150
tg/controllers/restcontroller                                                   
                        5      0   100%   
tg/controllers/tgcontroller                                                     
                        5      0   100%   
tg/controllers/util                                                             
                       97     17    82%   27, 31-38, 43, 80, 122, 125, 128, 
134, 137, 140, 143, 146, 182, 204
tg/controllers/wsgiappcontroller                                                
                       24      1    96%   42
tg/decorators                                                                   
                      291     35    88%   62, 69, 324-328, 369, 397-398, 
508-510, 525-531, 538, 542, 564-570, 597-598, 622-624, 708, 739, 744, 758
tg/dottednames/__init__                                                         
                        0      0   100%   
tg/dottednames/chameleon_genshi_lookup                                          
                       11      0   100%   
tg/dottednames/genshi_lookup                                                    
                       11      0   100%   
tg/dottednames/jinja_lookup                                                     
                       19      1    95%   32
tg/dottednames/mako_lookup                                                      
                       59     17    71%   8-9, 64, 80, 95-115, 147-149, 171
tg/error                                                                        
                       18      0   100%   
tg/exceptions                                                                   
                        1      0   100%   
tg/flash                                                                        
                       19      0   100%   
tg/i18n                                                                         
                       57      7    88%   59, 78-79, 96-100
tg/jsonify                                                                      
                       68     12    82%   16-18, 41, 49, 51, 53, 55, 75-80
tg/paginate                                                                     
                       20      5    75%   42-49
tg/release                                                                      
                        8      0   100%   
tg/render                                                                       
                      191     36    81%   7-8, 34-36, 39-41, 143, 175, 185, 
191, 239-251, 283-287, 360-363, 445-450
tg/templates/__init__                                                           
                        0      0   100%   
tg/util                                                                         
                      139     35    75%   29, 32-34, 49, 54, 95-98, 151, 
163-166, 175-176, 179-182, 185, 188-189, 192, 199-200, 203, 206-207, 210, 
213-214, 217-218, 221
tg/wsgiapp                                                                      
                       28      1    96%   11
tw2.core-2.0rc2-py2.6.egg/tw2/core/__init__                                     
                       10      0   100%   
tw2.core-2.0rc2-py2.6.egg/tw2/core/core                                         
                        4      0   100%   
tw2.core-2.0rc2-py2.6.egg/tw2/core/dottedtemplatelookup                         
                       53     30    43%   18-19, 68-87, 96-116, 119, 126-141
tw2.core-2.0rc2-py2.6.egg/tw2/core/i18n                                         
                       11      1    91%   11
tw2.core-2.0rc2-py2.6.egg/tw2/core/js                                           
                       35     20    43%   25-28, 67-81, 84, 87, 161-164, 167
tw2.core-2.0rc2-py2.6.egg/tw2/core/mako_util                                    
                       22     13    41%   17-30, 52-57
tw2.core-2.0rc2-py2.6.egg/tw2/core/middleware                                   
                      114     78    32%   108-135, 149-159, 163-187, 195, 
198-201, 204-217, 231-238, 243-246, 253-255
tw2.core-2.0rc2-py2.6.egg/tw2/core/params                                       
                       91      5    95%   11, 19, 29, 35, 103
tw2.core-2.0rc2-py2.6.egg/tw2/core/resources                                    
                      211    133    37%   16, 30-35, 38-42, 45-46, 49-57, 70, 
73-84, 104-111, 115-126, 129, 132, 137, 144-145, 172, 184-186, 189-197, 
200-208, 211, 233-235, 259-270, 273-300, 305-306, 309, 312-315, 318, 367-371, 
386-392, 402-404
tw2.core-2.0rc2-py2.6.egg/tw2/core/template                                     
                      119    101    15%   11-12, 20-27, 33, 37-64, 82-109, 
115-137, 140-163, 169-173
tw2.core-2.0rc2-py2.6.egg/tw2/core/util                                         
                       39     12    69%   24, 34-36, 73, 77-81, 84, 87
tw2.core-2.0rc2-py2.6.egg/tw2/core/validation                                   
                      288    119    59%   11-12, 26-27, 46, 56, 60-65, 91, 
97-99, 105, 115-117, 173, 180, 183, 186-187, 191-194, 203, 225-229, 273-277, 
293, 300-306, 309-312, 324-325, 342-344, 367, 371, 375, 378-383, 386, 399-404, 
420-422, 464-474, 488-489, 493, 496-498, 512-520, 529-538, 547-556
tw2.core-2.0rc2-py2.6.egg/tw2/core/widgets                                      
                      525    231    56%   7-8, 12-13, 135, 144-146, 155, 158, 
176, 189, 203-206, 220-247, 251-253, 263, 280-314, 334-355, 365, 368, 391-393, 
409-412, 437, 444, 457-473, 476-478, 495, 507, 522-525, 527-536, 540, 545, 
556-563, 567-569, 571, 573-574, 576-583, 610-611, 613, 615, 620-621, 627-641, 
652-670, 718, 723, 725-728, 738-740, 745, 754, 757-761, 773-774, 778, 794-796, 
800-807, 810
tw2.forms-2.0b7-py2.6.egg/tw2/forms/__init__                                    
                        3      0   100%   
tw2.forms-2.0b7-py2.6.egg/tw2/forms/calendars                                   
                       86     50    42%   41-42, 50-58, 66-96, 129-130, 
134-138, 141-163
tw2.forms-2.0b7-py2.6.egg/tw2/forms/mashups                                     
                        9      1    89%   13
tw2.forms-2.0b7-py2.6.egg/tw2/forms/widgets                                     
                      378    180    52%   41-44, 58-60, 62-63, 79-85, 93-97, 
127-130, 159-162, 193-224, 227, 230-234, 241-247, 250, 253-261, 298-309, 
312-314, 324-342, 345-361, 364-368, 410, 414, 418-421, 424-427, 455-458, 
462-475, 478, 489, 533-535, 576-586, 590-594
---------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                           
                     7130   1465    79%   
----------------------------------------------------------------------
Ran 342 tests in 7.412s

FAILED (errors=1)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable
Build step 'Execute shell' marked build as failure
Skipping Cobertura coverage report as build was not UNSTABLE or better ...
Recording test results

-- 
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?hl=en.

Reply via email to