Changeset 6311


Ignore:
Timestamp:
9 Jun 2011, 22:50:26 (14 years ago)
Author:
uli
Message:

Remove trailing whitespace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/image/browser/tests/image.txt

    r6033 r6311  
    3333  >>> widget()
    3434  u'<div>Download not available</div>'
    35  
     35
    3636Even if there were data in the request, there'd be nothing to download::
    3737
     
    6666  >>> request = TestRequest()
    6767  >>> widget = EncodingImageFileWidget(field, request)
    68  
     68
    6969  >>> def normalize(s):
    7070  ...   return u'\n  '.join(filter(None, s.split(' ')))
     
    8484  >>> request = TestRequest(form={'field.foo': u''})
    8585  >>> widget = EncodingImageFileWidget(field, request)
    86  
     86
    8787  >>> def normalize(s):
    8888  ...   return '\n  '.join(filter(None, s.split(' ')))
     
    143143request, but an id. Again, we should see the same::
    144144
    145   >>> request = TestRequest(form={'field.foo.file_id': 
     145  >>> request = TestRequest(form={'field.foo.file_id':
    146146  ...                             'Zm9vLnR4dAp0aGUgY29udGVudHM='})
    147147  >>> widget = EncodingImageFileWidget(field, request)
     
    174174
    175175  >>> request = TestRequest(form={'field.foo': FileUpload(another_file),
    176   ...                             'field.foo.file_id': 
     176  ...                             'field.foo.file_id':
    177177  ...                             'Zm9vLnR4dAp0aGUgY29udGVudHM='})
    178178
Note: See TracChangeset for help on using the changeset viewer.