| 1 | **********************************************************************
|
|---|
| 2 | File "/home/akaihola/dl/prg/www/django/django/utils/text.py", line 17, in django.utils.text
|
|---|
| 3 | Failed example:
|
|---|
| 4 | get_valid_filename("john's portrait in 2004.jpg")
|
|---|
| 5 | Expected:
|
|---|
| 6 | 'johns_portrait_in_2004.jpg'
|
|---|
| 7 | Got:
|
|---|
| 8 | u'johns_portrait_in_2004.jpg'
|
|---|
| 9 | **********************************************************************
|
|---|
| 10 | File "/home/akaihola/dl/prg/www/django/django/utils/text.py", line 20, in django.utils.text
|
|---|
| 11 | Failed example:
|
|---|
| 12 | get_text_list(['a', 'b', 'c', 'd'])
|
|---|
| 13 | Expected:
|
|---|
| 14 | 'a, b, c or d'
|
|---|
| 15 | Got:
|
|---|
| 16 | u'a, b, c or d'
|
|---|
| 17 | **********************************************************************
|
|---|
| 18 | File "/home/akaihola/dl/prg/www/django/django/utils/text.py", line 22, in django.utils.text
|
|---|
| 19 | Failed example:
|
|---|
| 20 | get_text_list(['a', 'b', 'c'], 'and')
|
|---|
| 21 | Expected:
|
|---|
| 22 | 'a, b and c'
|
|---|
| 23 | Got:
|
|---|
| 24 | u'a, b and c'
|
|---|
| 25 | **********************************************************************
|
|---|
| 26 | File "/home/akaihola/dl/prg/www/django/django/utils/text.py", line 24, in django.utils.text
|
|---|
| 27 | Failed example:
|
|---|
| 28 | get_text_list(['a', 'b'], 'and')
|
|---|
| 29 | Expected:
|
|---|
| 30 | 'a and b'
|
|---|
| 31 | Got:
|
|---|
| 32 | u'a and b'
|
|---|
| 33 | **********************************************************************
|
|---|
| 34 | File "/home/akaihola/dl/prg/www/django/django/utils/text.py", line 26, in django.utils.text
|
|---|
| 35 | Failed example:
|
|---|
| 36 | get_text_list(['a'])
|
|---|
| 37 | Expected:
|
|---|
| 38 | 'a'
|
|---|
| 39 | Got:
|
|---|
| 40 | u'a'
|
|---|
| 41 | **********************************************************************
|
|---|
| 42 | File "/home/akaihola/dl/prg/www/django/django/utils/text.py", line 28, in django.utils.text
|
|---|
| 43 | Failed example:
|
|---|
| 44 | get_text_list([])
|
|---|
| 45 | Expected:
|
|---|
| 46 | ''
|
|---|
| 47 | Got:
|
|---|
| 48 | u''
|
|---|
| 49 | **********************************************************************
|
|---|
| 50 | File "/home/akaihola/dl/prg/www/django/django/utils/text.py", line 36, in django.utils.text
|
|---|
| 51 | Failed example:
|
|---|
| 52 | list(smart_split('This is "a person's" test.'))
|
|---|
| 53 | Exception raised:
|
|---|
| 54 | Traceback (most recent call last):
|
|---|
| 55 | File "/usr/lib/python2.5/doctest.py", line 1228, in __run
|
|---|
| 56 | compileflags, 1) in test.globs
|
|---|
| 57 | File "<doctest django.utils.text[6]>", line 1
|
|---|
| 58 | list(smart_split('This is "a person's" test.'))
|
|---|
| 59 | ^
|
|---|
| 60 | SyntaxError: invalid syntax
|
|---|
| 61 | **********************************************************************
|
|---|
| 62 | 1 items had failures:
|
|---|
| 63 | 7 of 7 in django.utils.text
|
|---|
| 64 | ***Test Failed*** 7 failures.
|
|---|