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 | Got an error creating the test database: (1007, "Can't create database 'test_Playground'; database exists")
|
---|
5 | Type '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 | ======================================================================
|
---|
19 | FAIL: Doctest: modeltests.basic.models.__test__.API_TESTS
|
---|
20 | ----------------------------------------------------------------------
|
---|
21 | Traceback (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()))
|
---|
24 | AssertionError: 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 | ----------------------------------------------------------------------
|
---|
28 | File "/home/kmt/django/trunk/tests/modeltests/basic/models.py", line ?, in modeltests.basic.models.__test__.API_TESTS
|
---|
29 | Failed example:
|
---|
30 | Article.objects.get(pk=a.id).headline
|
---|
31 | Expected:
|
---|
32 | u'\u6797\u539f \u3081\u3050\u307f'
|
---|
33 | Got:
|
---|
34 | u'?? ???'
|
---|
35 |
|
---|
36 |
|
---|
37 | ======================================================================
|
---|
38 | FAIL: Doctest: regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
39 | ----------------------------------------------------------------------
|
---|
40 | Traceback (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()))
|
---|
43 | AssertionError: 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 | ----------------------------------------------------------------------
|
---|
47 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
48 | Failed example:
|
---|
49 | [sorted(d.items()) for d in dicts]
|
---|
50 | Expected:
|
---|
51 | [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', True)]]
|
---|
52 | Got:
|
---|
53 | [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', 1)]]
|
---|
54 | ----------------------------------------------------------------------
|
---|
55 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
56 | Failed example:
|
---|
57 | [sorted(d.items()) for d in dicts]
|
---|
58 | Expected:
|
---|
59 | [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', True), ('serves_hot_dogs', True)]]
|
---|
60 | Got:
|
---|
61 | [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', 1), ('serves_hot_dogs', 1)]]
|
---|
62 | ----------------------------------------------------------------------
|
---|
63 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
64 | Failed example:
|
---|
65 | [sorted(d.items()) for d in dicts]
|
---|
66 | Expected:
|
---|
67 | [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', False)]]
|
---|
68 | Got:
|
---|
69 | [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', 0)]]
|
---|
70 | ----------------------------------------------------------------------
|
---|
71 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
72 | Failed example:
|
---|
73 | [sorted(d.items()) for d in dicts]
|
---|
74 | Expected:
|
---|
75 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
|
---|
76 | Got:
|
---|
77 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
|
---|
78 | ----------------------------------------------------------------------
|
---|
79 | File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
|
---|
80 | Failed example:
|
---|
81 | [sorted(d.items()) for d in dicts]
|
---|
82 | Expected:
|
---|
83 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
|
---|
84 | Got:
|
---|
85 | [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
|
---|
86 |
|
---|
87 |
|
---|
88 | ----------------------------------------------------------------------
|
---|
89 | Ran 417 tests in 1642.392s
|
---|
90 |
|
---|
91 | FAILED (failures=2)
|
---|
92 | kmt@lbox:~/django/trunk/tests$
|
---|
93 |
|
---|
94 |
|
---|