Code

Ticket #8102: patch_failures.txt

File patch_failures.txt, 5.6 KB (added by kmtracey, 6 years ago)

For reference, test failures with the patch

Line 
1kmt@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
4Got an error creating the test database: (1007, "Can't create database 'test_Playground'; database exists")
5Type 'yes' if you would like to try deleting the test database 'test_Playground', or 'no' to cancel: yes
6/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
7  cursor.execute(sql, params)
8/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
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 'name' at row 1
11  cursor.execute(sql, params)
12/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
13  cursor.execute(sql, params)
14/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
15  cursor.execute(sql, params)
16/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
17  cursor.execute(sql, params)
18======================================================================
19FAIL: Doctest: modeltests.basic.models.__test__.API_TESTS
20----------------------------------------------------------------------
21Traceback (most recent call last):
22  File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
23    raise self.failureException(self.format_failure(new.getvalue()))
24AssertionError: Failed doctest test for modeltests.basic.models.__test__.API_TESTS
25  File "/home/kmt/django/trunk/tests/modeltests/basic/models.py", line unknown line number, in API_TESTS
26
27----------------------------------------------------------------------
28File "/home/kmt/django/trunk/tests/modeltests/basic/models.py", line ?, in modeltests.basic.models.__test__.API_TESTS
29Failed example:
30    Article.objects.get(pk=a.id).headline
31Expected:
32    u'\u6797\u539f \u3081\u3050\u307f'
33Got:
34    u'?? ???'
35
36
37======================================================================
38FAIL: Doctest: regressiontests.model_inheritance_regress.models.__test__.API_TESTS
39----------------------------------------------------------------------
40Traceback (most recent call last):
41  File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
42    raise self.failureException(self.format_failure(new.getvalue()))
43AssertionError: Failed doctest test for regressiontests.model_inheritance_regress.models.__test__.API_TESTS
44  File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line unknown line number, in API_TESTS
45
46----------------------------------------------------------------------
47File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
48Failed example:
49    [sorted(d.items()) for d in dicts]
50Expected:
51    [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', True)]]
52Got:
53    [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', 1)]]
54----------------------------------------------------------------------
55File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
56Failed example:
57    [sorted(d.items()) for d in dicts]
58Expected:
59    [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', True), ('serves_hot_dogs', True)]]
60Got:
61    [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', 1), ('serves_hot_dogs', 1)]]
62----------------------------------------------------------------------
63File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
64Failed example:
65    [sorted(d.items()) for d in dicts]
66Expected:
67    [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', False)]]
68Got:
69    [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', 0)]]
70----------------------------------------------------------------------
71File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
72Failed example:
73    [sorted(d.items()) for d in dicts]
74Expected:
75    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
76Got:
77    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
78----------------------------------------------------------------------
79File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
80Failed example:
81    [sorted(d.items()) for d in dicts]
82Expected:
83    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
84Got:
85    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
86
87
88----------------------------------------------------------------------
89Ran 417 tests in 1642.392s
90
91FAILED (failures=2)
92kmt@lbox:~/django/trunk/tests$
93
94