| 1 | Running tests with database 'mysql'
|
|---|
| 2 | Creating test database
|
|---|
| 3 | Initializing test database
|
|---|
| 4 | Running app tests
|
|---|
| 5 | basic model: Importing
|
|---|
| 6 | basic model: Installing
|
|---|
| 7 | basic model: Running tests
|
|---|
| 8 | custom_columns model: Importing
|
|---|
| 9 | custom_columns model: Installing
|
|---|
| 10 | custom_columns model: Running tests
|
|---|
| 11 | custom_methods model: Importing
|
|---|
| 12 | custom_methods model: Installing
|
|---|
| 13 | custom_methods model: Running tests
|
|---|
| 14 | custom_pk model: Importing
|
|---|
| 15 | custom_pk model: Installing
|
|---|
| 16 | custom_pk model: Running tests
|
|---|
| 17 | get_latest model: Importing
|
|---|
| 18 | get_latest model: Installing
|
|---|
| 19 | get_latest model: Running tests
|
|---|
| 20 | lookup model: Importing
|
|---|
| 21 | lookup model: Installing
|
|---|
| 22 | lookup model: Running tests
|
|---|
| 23 | m2m_intermediary model: Importing
|
|---|
| 24 | m2m_intermediary model: Installing
|
|---|
| 25 | m2m_intermediary model: Running tests
|
|---|
| 26 | m2o_recursive model: Importing
|
|---|
| 27 | m2o_recursive model: Installing
|
|---|
| 28 | m2o_recursive model: Running tests
|
|---|
| 29 | m2o_recursive2 model: Importing
|
|---|
| 30 | m2o_recursive2 model: Installing
|
|---|
| 31 | m2o_recursive2 model: Running tests
|
|---|
| 32 | many_to_many model: Importing
|
|---|
| 33 | many_to_many model: Installing
|
|---|
| 34 | many_to_many model: Running tests
|
|---|
| 35 | many_to_one model: Importing
|
|---|
| 36 | many_to_one model: Installing
|
|---|
| 37 | many_to_one model: Running tests
|
|---|
| 38 | many_to_one_null model: Importing
|
|---|
| 39 | many_to_one_null model: Installing
|
|---|
| 40 | many_to_one_null model: Running tests
|
|---|
| 41 | one_to_one model: Importing
|
|---|
| 42 | one_to_one model: Installing
|
|---|
| 43 | one_to_one model: Running tests
|
|---|
| 44 | ordering model: Importing
|
|---|
| 45 | ordering model: Installing
|
|---|
| 46 | ordering model: Running tests
|
|---|
| 47 | repr model: Importing
|
|---|
| 48 | repr model: Installing
|
|---|
| 49 | repr model: Running tests
|
|---|
| 50 | save_delete_hooks model: Importing
|
|---|
| 51 | save_delete_hooks model: Installing
|
|---|
| 52 | save_delete_hooks model: Running tests
|
|---|
| 53 | subclassing model: Importing
|
|---|
| 54 | subclassing model: Installing
|
|---|
| 55 | subclassing model: Running tests
|
|---|
| 56 | Running other tests
|
|---|
| 57 | cache module: Importing
|
|---|
| 58 | dateformat module: Importing
|
|---|
| 59 | db_typecasts module: Importing
|
|---|
| 60 | defaultfilters module: Importing
|
|---|
| 61 | defaultfilters module: running tests
|
|---|
| 62 | markup module: Importing
|
|---|
| 63 | templates module: Importing
|
|---|
| 64 | templates module: running tests
|
|---|
| 65 | Template test: basic-syntax01 -- Passed
|
|---|
| 66 | Template test: basic-syntax02 -- Passed
|
|---|
| 67 | Template test: basic-syntax03 -- Passed
|
|---|
| 68 | Template test: basic-syntax04 -- Passed
|
|---|
| 69 | Template test: basic-syntax06 -- Passed
|
|---|
| 70 | Template test: basic-syntax07 -- Passed
|
|---|
| 71 | Template test: basic-syntax08 -- Passed
|
|---|
| 72 | Template test: basic-syntax09 -- Passed
|
|---|
| 73 | Template test: basic-syntax10 -- Passed
|
|---|
| 74 | Template test: basic-syntax11 -- Passed
|
|---|
| 75 | Template test: basic-syntax12 -- Passed
|
|---|
| 76 | Template test: basic-syntax13 -- Passed
|
|---|
| 77 | Template test: basic-syntax14 -- Passed
|
|---|
| 78 | Template test: basic-syntax15 -- Passed
|
|---|
| 79 | Template test: basic-syntax16 -- Passed
|
|---|
| 80 | Template test: basic-syntax17 -- Passed
|
|---|
| 81 | Template test: basic-syntax18 -- Passed
|
|---|
| 82 | Template test: basic-syntax19 -- Passed
|
|---|
| 83 | Template test: basic-syntax20 -- Passed
|
|---|
| 84 | Template test: basic-syntax21 -- Passed
|
|---|
| 85 | Template test: basic-syntax22 -- Passed
|
|---|
| 86 | Template test: basic-syntax23 -- Passed
|
|---|
| 87 | Template test: basic-syntax24 -- Passed
|
|---|
| 88 | Template test: basic-syntax25 -- Passed
|
|---|
| 89 | Template test: basic-syntax26 -- Passed
|
|---|
| 90 | Template test: basic-syntax27 -- Passed
|
|---|
| 91 | Template test: basic-syntax28 -- Passed
|
|---|
| 92 | Template test: basic-syntax29 -- Passed
|
|---|
| 93 | Template test: comment-tag01 -- Passed
|
|---|
| 94 | Template test: comment-tag02 -- Passed
|
|---|
| 95 | Template test: exception01 -- Passed
|
|---|
| 96 | Template test: exception02 -- Passed
|
|---|
| 97 | Template test: exception03 -- Passed
|
|---|
| 98 | Template test: exception04 -- Passed
|
|---|
| 99 | Template test: for-tag-vars01 -- Passed
|
|---|
| 100 | Template test: for-tag-vars02 -- Passed
|
|---|
| 101 | Template test: for-tag-vars03 -- Passed
|
|---|
| 102 | Template test: for-tag-vars04 -- Passed
|
|---|
| 103 | Template test: for-tag01 -- Passed
|
|---|
| 104 | Template test: for-tag02 -- Passed
|
|---|
| 105 | Template test: i18n01 -- Passed
|
|---|
| 106 | Template test: i18n02 -- Passed
|
|---|
| 107 | Template test: i18n03 -- Passed
|
|---|
| 108 | Template test: i18n04 -- Passed
|
|---|
| 109 | Template test: i18n05 -- Passed
|
|---|
| 110 | Template test: i18n06 -- Passed
|
|---|
| 111 | Template test: i18n07 -- Passed
|
|---|
| 112 | Template test: i18n08 -- Passed
|
|---|
| 113 | Template test: i18n09 -- Passed
|
|---|
| 114 | Template test: i18n10 -- FAILED. Got exceptions.TypeError, exception: 'str' object is not callable
|
|---|
| 115 | Template test: i18n11 -- Passed
|
|---|
| 116 | Template test: i18n12 -- Passed
|
|---|
| 117 | Template test: i18n13 -- FAILED. Got exceptions.TypeError, exception: 'str' object is not callable
|
|---|
| 118 | Template test: if-tag01 -- Passed
|
|---|
| 119 | Template test: if-tag02 -- Passed
|
|---|
| 120 | Template test: if-tag03 -- Passed
|
|---|
| 121 | Template test: ifequal01 -- Passed
|
|---|
| 122 | Template test: ifequal02 -- Passed
|
|---|
| 123 | Template test: ifequal03 -- Passed
|
|---|
| 124 | Template test: ifequal04 -- Passed
|
|---|
| 125 | Template test: ifequal05 -- Passed
|
|---|
| 126 | Template test: ifequal06 -- Passed
|
|---|
| 127 | Template test: ifequal07 -- Passed
|
|---|
| 128 | Template test: ifequal08 -- Passed
|
|---|
| 129 | Template test: ifequal09 -- Passed
|
|---|
| 130 | Template test: ifequal10 -- Passed
|
|---|
| 131 | Template test: ifnotequal01 -- Passed
|
|---|
| 132 | Template test: ifnotequal02 -- Passed
|
|---|
| 133 | Template test: ifnotequal03 -- Passed
|
|---|
| 134 | Template test: ifnotequal04 -- Passed
|
|---|
| 135 | Template test: inheritance01 -- Passed
|
|---|
| 136 | Template test: inheritance02 -- Passed
|
|---|
| 137 | Template test: inheritance03 -- Passed
|
|---|
| 138 | Template test: inheritance04 -- Passed
|
|---|
| 139 | Template test: inheritance05 -- Passed
|
|---|
| 140 | Template test: inheritance06 -- Passed
|
|---|
| 141 | Template test: inheritance07 -- Passed
|
|---|
| 142 | Template test: inheritance08 -- Passed
|
|---|
| 143 | Template test: inheritance09 -- Passed
|
|---|
| 144 | Template test: inheritance10 -- Passed
|
|---|
| 145 | Template test: inheritance11 -- Passed
|
|---|
| 146 | Template test: inheritance12 -- Passed
|
|---|
| 147 | Template test: inheritance13 -- Passed
|
|---|
| 148 | Template test: inheritance14 -- Passed
|
|---|
| 149 | Template test: inheritance15 -- Passed
|
|---|
| 150 | Template test: inheritance16 -- Passed
|
|---|
| 151 | Template test: inheritance17 -- Passed
|
|---|
| 152 | Template test: inheritance18 -- Passed
|
|---|
| 153 | Template test: inheritance19 -- Passed
|
|---|
| 154 | Template test: inheritance20 -- Passed
|
|---|
| 155 | Template test: inheritance21 -- Passed
|
|---|
| 156 | Template test: inheritance22 -- Passed
|
|---|
| 157 | Template test: inheritance23 -- Passed
|
|---|
| 158 | Deleting test database
|
|---|
| 159 |
|
|---|
| 160 | 'one_to_one' module: API test raised an exception
|
|---|
| 161 | =================================================
|
|---|
| 162 | Code: "w = r.add_waiter(name='Joe')"
|
|---|
| 163 | Line: 40
|
|---|
| 164 | Exception: File "c:\tmp\django\tests\doctest.py", line 1243, in __run
|
|---|
| 165 | compileflags, 1) in test.globs
|
|---|
| 166 | File "<doctest one_to_one[13]>", line 1, in ?
|
|---|
| 167 | w = r.add_waiter(name='Joe')
|
|---|
| 168 | File "C:\Python24\lib\site-packages\django\utils\functional.py", line 3, in _curried
|
|---|
| 169 | return args[0](*(args[1:]+moreargs), **dict(kwargs.items() + morekwargs.items()))
|
|---|
| 170 | File "C:\Python24\lib\site-packages\django\core\meta\__init__.py", line 950, in method_add_related
|
|---|
| 171 | obj = rel_mod.Klass(**init_kwargs)
|
|---|
| 172 | File "C:\Python24\lib\site-packages\django\utils\functional.py", line 3, in _curried
|
|---|
| 173 | return args[0](*(args[1:]+moreargs), **dict(kwargs.items() + morekwargs.items()))
|
|---|
| 174 | File "C:\Python24\lib\site-packages\django\core\meta\__init__.py", line 762, in method_init
|
|---|
| 175 | raise TypeError, "Invalid value: %r should be a %s instance, not a %s" % (f.name, f.rel.to, type(rel_obj))
|
|---|
| 176 | TypeError: Invalid value: 'restaurant' should be a <Options for restaurants> instance, not a <class 'django.models.one_to_one.Restaurant'>
|
|---|
| 177 |
|
|---|
| 178 |
|
|---|
| 179 | 'one_to_one' module: API test raised an exception
|
|---|
| 180 | =================================================
|
|---|
| 181 | Code: 'w.save()'
|
|---|
| 182 | Line: 41
|
|---|
| 183 | Exception: File "c:\tmp\django\tests\doctest.py", line 1243, in __run
|
|---|
| 184 | compileflags, 1) in test.globs
|
|---|
| 185 | File "<doctest one_to_one[14]>", line 1, in ?
|
|---|
| 186 | w.save()
|
|---|
| 187 | NameError: name 'w' is not defined
|
|---|
| 188 |
|
|---|
| 189 |
|
|---|
| 190 | 'one_to_one' module: API test raised an exception
|
|---|
| 191 | =================================================
|
|---|
| 192 | Code: 'w'
|
|---|
| 193 | Line: 42
|
|---|
| 194 | Exception: File "c:\tmp\django\tests\doctest.py", line 1243, in __run
|
|---|
| 195 | compileflags, 1) in test.globs
|
|---|
| 196 | File "<doctest one_to_one[15]>", line 1, in ?
|
|---|
| 197 | w
|
|---|
| 198 | NameError: name 'w' is not defined
|
|---|
| 199 |
|
|---|
| 200 |
|
|---|
| 201 | 'dateformat' module: Error while importing
|
|---|
| 202 | ==========================================
|
|---|
| 203 | File "c:\tmp\django\tests\runtests.py", line 155, in run_tests
|
|---|
| 204 | mod = __import__("othertests." + module, '', '', [''])
|
|---|
| 205 | File "c:\tmp\django\tests\othertests\dateformat.py", line 71, in ?
|
|---|
| 206 | time.tzset()
|
|---|
| 207 | AttributeError: 'module' object has no attribute 'tzset'
|
|---|
| 208 |
|
|---|
| 209 |
|
|---|
| 210 | 'markup' module: Error while importing
|
|---|
| 211 | ======================================
|
|---|
| 212 | File "c:\tmp\django\tests\runtests.py", line 155, in run_tests
|
|---|
| 213 | mod = __import__("othertests." + module, '', '', [''])
|
|---|
| 214 | File "c:\tmp\django\tests\othertests\markup.py", line 51, in ?
|
|---|
| 215 | assert rendered == markdown_content
|
|---|
| 216 | AssertionError
|
|---|
| 217 |
|
|---|
| 218 |
|
|---|
| 219 | 'templates' module: Exception running tests
|
|---|
| 220 | ===========================================
|
|---|
| 221 | File "c:\tmp\django\tests\runtests.py", line 168, in run_tests
|
|---|
| 222 | mod.run_tests(verbosity_level)
|
|---|
| 223 | File "c:\tmp\django\tests\othertests\templates.py", line 304, in run_tests
|
|---|
| 224 | raise Exception, msg
|
|---|
| 225 | Exception: Template tests ['i18n10', 'i18n13'] failed.
|
|---|
| 226 |
|
|---|
| 227 | 6 errors:
|
|---|