1 | kmt@lbox:~/django/trunk/tests$ python runtests.py --settings=testsettings
|
---|
2 | /home/kmt/django/trunk/tests/regressiontests/templates/loaders.py:14: UserWarning: Module _mysql was already imported from /var/lib/python-support/python2.5/_mysql.so, but /var/lib/python-support/python2.5 is being added to sys.path
|
---|
3 | import pkg_resources
|
---|
4 | /home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xE6\x9E\x97\xE5\x8E\x9F...' for column 'headline' at row 1
|
---|
5 | cursor.execute(sql, params)
|
---|
6 | /home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC5\xBA\xC5\x84' for column 'code' at row 1
|
---|
7 | cursor.execute(sql, params)
|
---|
8 | /home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC5\xBC\xC3\xB3\xC5\x82...' for column 'name' at row 1
|
---|
9 | cursor.execute(sql, params)
|
---|
10 | /home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC5\xBC\xC3\xB3\xC5\x82...' for column 'actor_id' at row 1
|
---|
11 | cursor.execute(sql, params)
|
---|
12 | /home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC4\x99\xC5\x9Bl\xC4...' for column 'title' at row 1
|
---|
13 | cursor.execute(sql, params)
|
---|
14 | /home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xE6\x88\x91\xE9\x9A\xBB...' for column 'file' at row 1
|
---|
15 | cursor.execute(sql, params)
|
---|
16 | ======================================================================
|
---|
17 | FAIL: Doctest: modeltests.basic.models.__test__.API_TESTS
|
---|
18 | ----------------------------------------------------------------------
|
---|
19 | Traceback (most recent call last):
|
---|
20 | File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
|
---|
21 | raise self.failureException(self.format_failure(new.getvalue()))
|
---|
22 | AssertionError: Failed doctest test for modeltests.basic.models.__test__.API_TESTS
|
---|
23 | File "/home/kmt/django/trunk/tests/modeltests/basic/models.py", line unknown line number, in API_TESTS
|
---|
24 |
|
---|
25 | ----------------------------------------------------------------------
|
---|
26 | File "/home/kmt/django/trunk/tests/modeltests/basic/models.py", line ?, in modeltests.basic.models.__test__.API_TESTS
|
---|
27 | Failed example:
|
---|
28 | Article.objects.get(pk=a.id).headline
|
---|
29 | Expected:
|
---|
30 | u'\u6797\u539f \u3081\u3050\u307f'
|
---|
31 | Got:
|
---|
32 | u'?? ???'
|
---|
33 |
|
---|
34 |
|
---|
35 | ======================================================================
|
---|
36 | FAIL: Doctest: regressiontests.string_lookup.models.__test__.API_TESTS
|
---|
37 | ----------------------------------------------------------------------
|
---|
38 | Traceback (most recent call last):
|
---|
39 | File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
|
---|
40 | raise self.failureException(self.format_failure(new.getvalue()))
|
---|
41 | AssertionError: Failed doctest test for regressiontests.string_lookup.models.__test__.API_TESTS
|
---|
42 | File "/home/kmt/django/trunk/tests/regressiontests/string_lookup/models.py", line unknown line number, in API_TESTS
|
---|
43 |
|
---|
44 | ----------------------------------------------------------------------
|
---|
45 | File "/home/kmt/django/trunk/tests/regressiontests/string_lookup/models.py", line ?, in regressiontests.string_lookup.models.__test__.API_TESTS
|
---|
46 | Failed example:
|
---|
47 | Foo.objects.get(friend__contains=u'\xe7')
|
---|
48 | Exception raised:
|
---|
49 | Traceback (most recent call last):
|
---|
50 | File "/home/kmt/django/trunk/django/test/_doctest.py", line 1267, in __run
|
---|
51 | compileflags, 1) in test.globs
|
---|
52 | File "<doctest regressiontests.string_lookup.models.__test__.API_TESTS[18]>", line 1, in <module>
|
---|
53 | Foo.objects.get(friend__contains=u'\xe7')
|
---|
54 | File "/home/kmt/django/trunk/django/db/models/manager.py", line 82, in get
|
---|
55 | return self.get_query_set().get(*args, **kwargs)
|
---|
56 | File "/home/kmt/django/trunk/django/db/models/query.py", line 301, in get
|
---|
57 | % self.model._meta.object_name)
|
---|
58 | DoesNotExist: Foo matching query does not exist.
|
---|
59 | ----------------------------------------------------------------------
|
---|
60 | File "/home/kmt/django/trunk/tests/regressiontests/string_lookup/models.py", line ?, in regressiontests.string_lookup.models.__test__.API_TESTS
|
---|
61 | Failed example:
|
---|
62 | Foo.objects.get(friend__contains='\xc3\xa7')
|
---|
63 | Exception raised:
|
---|
64 | Traceback (most recent call last):
|
---|
65 | File "/home/kmt/django/trunk/django/test/_doctest.py", line 1267, in __run
|
---|
66 | compileflags, 1) in test.globs
|
---|
67 | File "<doctest regressiontests.string_lookup.models.__test__.API_TESTS[19]>", line 1, in <module>
|
---|
68 | Foo.objects.get(friend__contains='\xc3\xa7')
|
---|
69 | File "/home/kmt/django/trunk/django/db/models/manager.py", line 82, in get
|
---|
70 | return self.get_query_set().get(*args, **kwargs)
|
---|
71 | File "/home/kmt/django/trunk/django/db/models/query.py", line 301, in get
|
---|
72 | % self.model._meta.object_name)
|
---|
73 | DoesNotExist: Foo matching query does not exist.
|
---|
74 |
|
---|
75 |
|
---|
76 | ======================================================================
|
---|
77 | FAIL: Doctest: regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
78 | ----------------------------------------------------------------------
|
---|
79 | Traceback (most recent call last):
|
---|
80 | File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
|
---|
81 | raise self.failureException(self.format_failure(new.getvalue()))
|
---|
82 | AssertionError: Failed doctest test for regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
83 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line unknown line number, in API_TESTS
|
---|
84 |
|
---|
85 | ----------------------------------------------------------------------
|
---|
86 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
87 | Failed example:
|
---|
88 | [sorted(d.items()) for d in dicts]
|
---|
89 | Expected:
|
---|
90 | [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', True)]]
|
---|
91 | Got:
|
---|
92 | [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', 1)]]
|
---|
93 | ----------------------------------------------------------------------
|
---|
94 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
95 | Failed example:
|
---|
96 | [sorted(d.items()) for d in dicts]
|
---|
97 | Expected:
|
---|
98 | [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', True), ('serves_hot_dogs', True)]]
|
---|
99 | Got:
|
---|
100 | [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', 1), ('serves_hot_dogs', 1)]]
|
---|
101 | ----------------------------------------------------------------------
|
---|
102 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
103 | Failed example:
|
---|
104 | [sorted(d.items()) for d in dicts]
|
---|
105 | Expected:
|
---|
106 | [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', False)]]
|
---|
107 | Got:
|
---|
108 | [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', 0)]]
|
---|
109 | ----------------------------------------------------------------------
|
---|
110 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
111 | Failed example:
|
---|
112 | [sorted(d.items()) for d in dicts]
|
---|
113 | Expected:
|
---|
114 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
|
---|
115 | Got:
|
---|
116 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
|
---|
117 | ----------------------------------------------------------------------
|
---|
118 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
119 | Failed example:
|
---|
120 | [sorted(d.items()) for d in dicts]
|
---|
121 | Expected:
|
---|
122 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
|
---|
123 | Got:
|
---|
124 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
|
---|
125 |
|
---|
126 |
|
---|
127 | ----------------------------------------------------------------------
|
---|
128 | Ran 417 tests in 1698.765s
|
---|
129 |
|
---|
130 | FAILED (failures=3)
|
---|
131 | kmt@lbox:~/django/trunk/tests$ cd ..
|
---|
132 | kmt@lbox:~/django/trunk$ svn status -u
|
---|
133 | ? 8102-2.diff
|
---|
134 | ? 8102.diff
|
---|
135 | ? tests/testsettings.py
|
---|
136 | ? tests/patch_failures.txt
|
---|
137 | Status against revision: 8207
|
---|
138 | kmt@lbox:~/django/trunk$
|
---|
139 |
|
---|