summaryrefslogtreecommitdiff
path: root/tests/multiple_database/tests.py
AgeCommit message (Expand)Author
2020-01-20Refs #31117 -- Made various tests properly handle unexpected databases aliases.Matthijs Kooijman
2019-02-07Fixed #16027 -- Added app_label to ContentType.__str__().Gregory N. Schmit
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-05-10Fixed #27629 -- Added router.allow_relation() calls for assignments between u...Stefan R. Filipek
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-01-02Fixed #28974 -- Made refresh_from_db() hint routers about its instance.Simon Charette
2017-07-31Removed a primary key value dependency in a multiple_database test.Tim Graham
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
2017-01-28Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses."Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-13Removed available_apps on TestCase subclasses.Simon Charette
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-07Removed unused lines in multiple_database test.Tim Graham
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
2016-06-27Fixed #26784 -- Made ForeignKey.validate() pass `model` to router if model_in...Ben Demboski
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a related...Tim Graham
2015-09-23Refs #24351 -- Removed support for the old allow_migrate() signature per depr...Tim Graham
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-28Fixed #18556 -- Allowed RelatedManager.add() to execute 1 query where possible.Tim Graham
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-04-28Fixed #24714 -- Used more specific assertions than assertEqual in tests.Alasdair Nicol
2015-02-21Fixed allow_migrate signature in one of the tests.Loic Bistuer
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-17Removed support for initial_data fixtures per deprecation timeline.Tim Graham
2014-12-01Removed an incorrect docstring in tests/multiple_database/tests.py.wrwrwr
2014-12-01Removed a no-op statement in tests/multiple_database/tests.py.wrwrwr
2014-12-01Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs ...wrwrwr
2014-11-28Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-06-05Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise Valu...Anubhav Joshi
2014-05-28Fixed several typos in DjangoAlex Gaynor
2014-05-22Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella
2014-05-20replaced occurrences of master/slave terminology with leader/followerFlavio Curella
2014-03-30Fixed transaction handling for a number of operations on related objects.Loic Bistuer
2014-03-30Cleaned up tests for multiple databases.Loic Bistuer
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-11-02PEP8 cleanupJason Myers
2013-11-02Fixed all E261 warningscoagulant
2013-11-02Fixing E302 ErrorsJason Myers
2013-10-26Fix all violators of E231Alex Gaynor