Changeset 5745

Show
Ignore:
Timestamp:
11/22/08 15:19:29 (2 months ago)
Author:
faide
Message:

Adding more info in the warning message from the tosca tests

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/turbogears/tests/test_toscawidgets.py

    r5698 r5745  
    1010        locations as tw_locations) 
    1111    from tw.forms import TableForm, TextField 
    12 except ImportError
     12except ImportError, e
    1313    import warnings 
    1414    warnings.warn("ToscaWidgets not installed. Can not perform TG integration " 
    15         "unit tests!"
     15            "unit tests!: %s" % e
    1616else: 
    1717    css_link = CSSLink(modname="turbogears.tests", filename="foo.css")