Andrew Godwin da0c7cd777 Clean up unique validation tests to not use bare excepts and use assertRaises. Refs [16345]. před 14 roky
..
aggregation afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: před 14 roky
basic 4a15719405 Migrated basic doctests. Thanks to Preston Timmons for the patch. před 14 roky
choices 7543eb95e6 Converted doctest to unittest. Patch by Alex Gaynor. před 14 roky
custom_columns a904e55859 Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. před 14 roky
custom_managers ca90d158d2 Migrated the custom_managers tests. Thanks to Alex Gaynor. před 14 roky
custom_methods b26f1d4664 Migrated custom_methods doctests. Thanks to Alex Gaynor. před 14 roky
custom_pk 227c5e80db Fixed #11319 - Added lookup support for ForeignKey.to_field. Also reverted no-longer-needed model formsets workaround for lack of such support from r10756. Thanks Russell and Alex for review. před 14 roky
defer eb8b5dc2d4 Migrated defer doctests. Thanks to Alex Gaynor. před 14 roky
delete 616b30227d Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. před 14 roky
empty 45651dcb05 Migrated empty doctests. Thanks to Alex Gaynor. před 14 roky
expressions 93cda768ee Migrated expressions doctests. Thanks to Alex Gaynor. před 14 roky
field_defaults 521be8cd9c Migrated i18n and field_defaults doctests. Thanks to Alex Gaynor. před 14 roky
field_subclassing 4c468800ee Updates to the test suite to allow for newly deprecated and removed features před 14 roky
files e54c0a0c94 Move the Python 2.5 specific tests out of their own special files now that 2.5 is the default. Also add __futre__ import where necessary. před 14 roky
fixtures f17fc56602 Fixed a bunch more tests that were failing in Oracle due to false assumptions about the primary keys of objects. před 14 roky
fixtures_model_package 6ad4b328fa Pass commit=False to loaddata in tests, which will keep the DB connection open. Closing the connection has the side-effect on some DBs (Postgres, MySQL/InnoDB) of rolling back the transaction that was in progress, causing these tests to fail. před 14 roky
force_insert_update f1f86e0173 Migrated the force_insert_update tests. Thanks to Alex Gaynor. před 14 roky
generic_relations d95355b6db Fixed #16048 -- Use the base manager instead of the default manager to retrieve a related object of a GenericForeignKey similar to ForeignKeys. Thanks, adurdin. před 14 roky
get_latest a845eba8dd Fixed #11283 -- Made sure that latest() clears previously specified ordering in a QuerySet. Thanks to benmoran, punteney, mk and and Julien Phalip. před 14 roky
get_object_or_404 19bd2b6f02 Migrated get_object_or_404 doctests. Thanks to Alex Gaynor. před 14 roky
get_or_create 80aa4432e6 Fixed #12979 -- allowed using savepoints in TestCase (i.e. tests with transactions disabled), convert the GetOrCreate tests to use this. před 14 roky
invalid_models a43c2f50c2 Fixed #7726 -- Added validation of max_digits and decimal_places options to DecimalField model field. Thanks theevilgeek for the report and elbarto for the patch. před 14 roky
lookup 15295a852f Fixed #15647 -- Changed in_bulk() not to type check its input, which now allows for passing any iterable. Thanks, calvinspealman před 14 roky
m2m_and_m2o 935aa4c6a1 Migrated m2m_intermediary doctests. Thanks to Alex Gaynor. před 14 roky
m2m_intermediary 935aa4c6a1 Migrated m2m_intermediary doctests. Thanks to Alex Gaynor. před 14 roky
m2m_multiple 21e7987c4c Migrated m2m_multiple doctests. Thanks to Alex Gaynor. před 14 roky
m2m_recursive 2314fadabe Convert m2m_recursive tests to unittests. We have always been at war with doctests. před 14 roky
m2m_signals 102d230f94 Converted m2m_signals from doctests to unittests. Thanks to Gregor Müllegger for the patch. We have always been at war with doctests. před 14 roky
m2m_through e0a1e474b6 Migrated m2m_through doctests. Thanks to the anonymous contributor. před 14 roky
m2o_recursive 539af4deec Migrated m2o_recursive and m2o_recursive2 tests, merging them into a single package. Thanks to George Sakkis for the patches. před 14 roky
many_to_many c0cb75ce64 Migrated many-to-many doctests. Thanks to George Sakkis for the patch. před 14 roky
many_to_one fcf8312ade Made clear() on a reverse foreign key significantly more efficient. Thanks to Andrew Godwin for the review. před 14 roky
many_to_one_null 7a600166a7 Name this test method correctly. Refs [16334]. před 14 roky
model_forms 7d11c30994 Fixed #6953 -- Correctly sort ManyToMany fields in ModelForms. Thanks, dgouldin, mk and Alex. před 14 roky
model_formsets 9e637d3061 Fixed a number of tests that were failing in Oracle due to false assumptions about the primary keys of objects. před 14 roky
model_inheritance 91414c4bb8 Fixed #13206 -- call super().__init__() in Model.__init__ to allow mixins to do things there. před 14 roky
model_inheritance_same_model_name afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: před 14 roky
model_package c20f2f2ac9 Fixed #14473 -- converted the model_package tests from doctests to unitests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. před 14 roky
mutually_referential cdfbe79674 Migrated the mutually_referential doctests. Thanks to George Sakkis for the patch. před 14 roky
one_to_one 77ec3ce0c4 Migrated one_to_one doctests. Thanks to George Sakkis for the patch. (We have always been at war with doctests) před 14 roky
or_lookups 7408f5098b Converted or_lookups tests from doctests to unittests. We have always been at war with doctests. Thanks to Paul Tax for the patch. před 14 roky
order_with_respect_to ccc43508e3 Fixed #13241. order_with_respect_to now works with ForeignKeys who refer to their model lazily (i.e. with a string). Thanks to Gabriel Grant for the patch. před 14 roky
ordering 39595a9e0e Converted ordering tests from doctests to unittests. We have always been at war with doctests. před 14 roky
pagination 103a201449 Fixed #14444 -- Convert the pagination doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. před 14 roky
properties c830dbe39f Migrated properties doctests. Thanks to George Sakkis for the patch. před 14 roky
proxy_model_inheritance afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: před 14 roky
proxy_models f17fc56602 Fixed a bunch more tests that were failing in Oracle due to false assumptions about the primary keys of objects. před 14 roky
raw_query fd2f18008c Fixed #14733: no longer "validate" .raw() queries. před 14 roky
reserved_names b7cd1682f5 Migrated reserved_names doctests. Thanks to Eric Florenzano. před 14 roky
reverse_lookup 1080937a62 Migrated reverse_lookup doctests. Thanks to Eric Florenzano před 14 roky
save_delete_hooks 3879c59074 Converted save_delete_hooks tests from doctests to unittests. We have always been at war with doctests. před 14 roky
select_for_update 0b1a061881 Replaced old-style with new-style decorator syntax. před 14 roky
select_related cd847db17f Fixed result ordering assumptions in the select_related tests. před 14 roky
serializers afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: před 14 roky
signals 5bc0ec4ec4 Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. před 14 roky
str 2055fdbe97 Migrated str doctests. Thanks to Eric Florenzano. před 14 roky
test_client 027e3b554c More migrations to use RedirectView instead of redirect_to před 14 roky
transactions e54c0a0c94 Move the Python 2.5 specific tests out of their own special files now that 2.5 is the default. Also add __futre__ import where necessary. před 14 roky
unmanaged_models afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: před 14 roky
update 5bc0ec4ec4 Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. před 14 roky
user_commands afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: před 14 roky
validation da0c7cd777 Clean up unique validation tests to not use bare excepts and use assertRaises. Refs [16345]. před 14 roky
validators afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: před 14 roky
__init__.py f69cf70ed8 MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. před 19 roky