Ignore:
Timestamp:
7 Mar 2012, 18:05:23 (13 years ago)
Author:
uli
Message:

Remove trailing whitespace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/widgets/tests/test_objectwidget.py

    r7501 r7781  
    4545    name = TextLine()
    4646    email = TextLine()
    47    
     47
    4848class TestContact(object):
    4949    implements(ITestContact)
     
    5151class ITestContent(Interface):
    5252    foo = Object(
    53         ITestContact, 
     53        ITestContact,
    5454        title = u'Foo Title',
    5555        description = u'',
    5656        )
    57    
     57
    5858class ObjectWidgetInputErrorView(object):
    5959    implements(IWidgetInputErrorView)
     
    8282        provideAdapter(TextWidget, (ITextLine, IDefaultBrowserLayer),
    8383                       IInputWidget)
    84        
     84
    8585        class TestObject(object):
    8686            implements(ITestContent)
     
    120120        error_html = widget.error()
    121121        if sys.version_info < (2, 5):
    122             self.assertTrue("email: <zope.formlib.interfaces.Mis" 
     122            self.assertTrue("email: <zope.formlib.interfaces.Mis"
    123123                             in error_html)
    124124            self.assertTrue("name: <zope.formlib.interfaces.Miss"
     
    161161        widget1, widget2 = widget.subwidgets()
    162162        self.assertTrue(widget1 is name_widget)
    163        
    164        
     163
     164
    165165class ObjectDisplayWidgetTest(BrowserWidgetTest):
    166166    """Documents and tests the display variant of object widget.
     
    184184        # adapter that can turn nearly any object into an ITraversable.
    185185        provideAdapter(DefaultTraversable, (None,), ITraversable)
    186        
     186
    187187        class TestObject(object):
    188188            implements(ITestContent)
     
    206206                       IDisplayWidget)
    207207
    208        
     208
    209209    def test_interfaces(self):
    210210        from zope.interface.verify import DoesNotImplement
     
    224224            'foo@foo.test',
    225225            '</td>']
    226         self.verifyResult(widget(), check_list, inorder=True)   
     226        self.verifyResult(widget(), check_list, inorder=True)
    227227
    228228def test_suite():
Note: See TracChangeset for help on using the changeset viewer.