Russell Keith-Magee
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 年 前 |
Alex Gaynor
|
5bc0ec4ec4
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
|
14 年 前 |
Alex Gaynor
|
7dfefa74ca
Properly handle the fact that lists are mutable when trying to maintain state in a test.
|
14 年 前 |
Russell Keith-Magee
|
909c44e1aa
Migrated app_loading doctests.
|
14 年 前 |
Russell Keith-Magee
|
121d2e3678
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.
|
14 年 前 |
Russell Keith-Magee
|
e8eac32901
Fixed #13389 -- Ensured that the app_loading test clears out the app cache at the end of each test, so that it doesn't interact badly with flush and other introspected database commands. Thanks to Karen for the report, and Ramiro Morales for the debugging hints.
|
15 年 前 |
Karen Tracey
|
29341aaffc
Fixed #13348: Restored ability to load models from apps in eggs. Thanks Ramiro and metzen for pointers on how to find out if a module loaded from an egg has a particular submodule.
|
15 年 前 |
Russell Keith-Magee
|
46cc7021a8
Fixed #1480 -- Added the ability to use the system timezone. Thanks to Ramiro Morales for the patch.
|
15 年 前 |
Karen Tracey
|
96a10094e8
Corrected app_loading test so it does not generate a key error when TZ is not set in the environment (e.g., on Windows).
|
15 年 前 |
Malcolm Tredinnick
|
324eba99cb
Fixed #10526 -- More fixes when specifying installed apps using "foo.*".
|
16 年 前 |
Malcolm Tredinnick
|
d0fff8ccd4
Fixed #10439 -- Fixed a subtle test failure caused by r9994.
|
16 年 前 |
Malcolm Tredinnick
|
242fc60520
Fixed #9323 -- Allow glob loading in INSTALLED_APPS to handle digits in names.
|
16 年 前 |