summaryrefslogtreecommitdiff
path: root/tests/multiple_database/tests.py
Commit message (Expand)AuthorAgeFilesLines
* Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__().Hrushikesh Vaidya2023-03-091-1/+1
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
* Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQue...Gregor Gärtner2022-10-081-2/+2
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-221-5/+5
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-13/+40
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-661/+1056
* Fixed isolation of RouterTestCase.test_m2m_cross_database_protection().Mariusz Felisiak2021-07-051-2/+2
* Refs #31117 -- Made various tests properly handle unexpected databases aliases.Matthijs Kooijman2020-01-201-2/+2
* Fixed #16027 -- Added app_label to ContentType.__str__().Gregory N. Schmit2019-02-071-2/+2
* Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette2019-01-101-11/+11
* Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham2018-11-271-1/+1
* Fixed #27629 -- Added router.allow_relation() calls for assignments between u...Stefan R. Filipek2018-05-101-0/+25
* Fixed hanging indentation in various code.Mariusz Felisiak2018-03-161-17/+23
* Fixed #28974 -- Made refresh_from_db() hint routers about its instance.Simon Charette2018-01-021-0/+9
* Removed a primary key value dependency in a multiple_database test.Tim Graham2017-07-311-2/+2
* Used assertRaisesMessage() to test Django's error messages.Mads Jensen2017-07-291-13/+45
* Replaced type-specific assertions with assertEqual().Tim Graham2017-03-171-3/+3
* Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses."Tim Graham2017-01-281-0/+6
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-7/+7
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-1/+1
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
* Removed available_apps on TestCase subclasses.Simon Charette2017-01-131-5/+0
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-23/+22
* Removed unused lines in multiple_database test.Tim Graham2016-09-071-7/+1
* Replaced use of TestCase.fail() with assertRaises().Tim Graham2016-06-281-171/+101
* Fixed #26784 -- Made ForeignKey.validate() pass `model` to router if model_in...Ben Demboski2016-06-271-0/+11
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-6/+6
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-118/+62
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-55/+38
* Fixed #25550 -- Deprecated direct assignment to the reverse side of a related...Tim Graham2015-10-271-16/+17
* Refs #24351 -- Removed support for the old allow_migrate() signature per depr...Tim Graham2015-09-231-32/+0
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-109/+251
* Fixed #18556 -- Allowed RelatedManager.add() to execute 1 query where possible.Tim Graham2015-07-281-2/+13
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
* Fixed #24714 -- Used more specific assertions than assertEqual in tests.Alasdair Nicol2015-04-281-1/+1
* Fixed allow_migrate signature in one of the tests.Loic Bistuer2015-02-211-1/+1
* Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer2015-02-201-21/+53
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+2
* Removed support for initial_data fixtures per deprecation timeline.Tim Graham2015-01-171-4/+2
* Removed an incorrect docstring in tests/multiple_database/tests.py.wrwrwr2014-12-011-1/+0
* Removed a no-op statement in tests/multiple_database/tests.py.wrwrwr2014-12-011-2/+0
* Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs ...wrwrwr2014-12-011-144/+82
* Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen2014-11-281-0/+18
* Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag2014-11-031-1/+1
* Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise Valu...Anubhav Joshi2014-06-051-50/+1
* Fixed several typos in DjangoAlex Gaynor2014-05-281-1/+1
* Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella2014-05-221-19/+19
* replaced occurrences of master/slave terminology with leader/followerFlavio Curella2014-05-201-19/+19
* Fixed transaction handling for a number of operations on related objects.Loic Bistuer2014-03-301-5/+10