Django

Code

Changeset 6090

Show
Ignore:
Timestamp:
09/10/07 23:21:32 (1 year ago)
Author:
gwilson
Message:

Removed duplicate form tests added in the unicode merge.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/tests/regressiontests/forms/regressions.py

    r5876 r6090  
    7474>>> f.cleaned_data 
    7575{'data': u'xyzzy'} 
    76  
    77 ####################### 
    78 # Miscellaneous Tests # 
    79 ####################### 
    80  
    81 There once was a problem with Form fields called "data". Let's make sure that 
    82 doesn't come back. 
    83 >>> class DataForm(Form): 
    84 ...     data = CharField(max_length=10) 
    85 >>> f = DataForm({'data': 'xyzzy'}) 
    86 >>> f.is_valid() 
    87 True 
    88 >>> f.cleaned_data 
    89 {'data': u'xyzzy'} 
    9076"""