Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | 2022-10-08 | 1 | -4/+4 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -13/+18 |
| | |||||
* | Fixed fixtures loading isolation in tests. | François Freitag | 2020-05-15 | 3 | -3/+3 |
| | | | | | | | fixture1.json and fixture2.json exist in both "fixtures" and "fixtures_model_package". Both apps are listed in "INSTALLED_APPS". The loaddata management command loads from installed apps, thus loads both fixtures when a test runs loaddata with any of these fixtures. | ||||
* | Removed redundant assertions in fixtures tests. | François Freitag | 2020-05-13 | 1 | -1/+0 |
| | |||||
* | Removed unused fixture2.xml from fixtures_model_package tests. | François Freitag | 2020-05-13 | 1 | -11/+0 |
| | |||||
* | Renamed camelCaseTestMethods to snake_case_test_methods | Markus Holtermann | 2019-04-14 | 1 | -1/+1 |
| | |||||
* | Followed style guide for model attribute ordering. | Matt Wiens | 2018-12-27 | 1 | -3/+3 |
| | |||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception. | Andrew Kuchev | 2016-01-04 | 1 | -6/+2 |
| | | | | Thanks to mpasternak for the report and Tim Graham for the review. | ||||
* | Removed support for custom SQL per deprecation timeline. | Tim Graham | 2015-01-17 | 4 | -26/+0 |
| | |||||
* | Removed support for initial_data fixtures per deprecation timeline. | Tim Graham | 2015-01-17 | 2 | -56/+2 |
| | |||||
* | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | 2014-11-03 | 1 | -3/+2 |
| | |||||
* | Removed unneeded override_system_checks | Claude Paroz | 2014-10-21 | 1 | -3/+0 |
| | | | | Refs #23685. | ||||
* | Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite. | Tim Graham | 2014-08-08 | 1 | -0/+1 |
| | | | | Thanks Claude Paroz for assistance with debugging the tests. | ||||
* | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | 2014-01-20 | 1 | -0/+3 |
| | | | | | | | | | This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844. | ||||
* | PEP8 cleanup | Jason Myers | 2013-11-02 | 1 | -0/+1 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 1 | -1/+1 |
| | |||||
* | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+0 |
| | |||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 2 | -14/+14 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Removed unneeded imports in tests's __init__.py and unified them. | Florian Apolloner | 2013-09-09 | 1 | -2/+0 |
| | |||||
* | Updated syncdb -> migrate in tests. | Tim Graham | 2013-09-03 | 1 | -3/+3 |
| | |||||
* | Fixed #14300 -- Fixed initial SQL location if models is a package. | Tim Graham | 2013-07-24 | 3 | -0/+20 |
| | | | | Thanks al_the_x for the report and fheinz for the draft patch. | ||||
* | Avoided transaction.set_autocommit in tests. | Aymeric Augustin | 2013-07-09 | 1 | -10/+2 |
| | | | | | | It doesn't work as one might expect on a certain database backend where autocommits_when_autocommit_is_off = True. That backend happens to be popular for running tests. | ||||
* | Stopped calling loaddata with commit=False. | Aymeric Augustin | 2013-06-30 | 1 | -4/+3 |
| | | | | | This was a stealth option only used by the tests, and it isn't useful any more since `atomic` provides nested transactions. | ||||
* | Defined available_apps in relevant tests. | Aymeric Augustin | 2013-06-10 | 1 | -0/+3 |
| | | | | Fixed #20483. | ||||
* | Fixed fixtures testing failure | Anssi Kääriäinen | 2013-05-19 | 1 | -1/+4 |
| | | | | | | The failure was caused by generating the same warning from two tests. The second time the same warning was raised it was swallowed by the "once" simplefilter of warnings. | ||||
* | fix warnings imports in fixtures tests | Senko Rasic | 2013-05-19 | 1 | -1/+2 |
| | |||||
* | Fixed #18990 -- Loaddata now complains if fixture doesn't exist | Senko Rasic | 2013-05-19 | 1 | -1/+4 |
| | | | | | | | | | | | | If the fixture doesn't exist, loaddata will output a warning. The fixture named "initial_data" is exceptional though; if it doesn't exist, the warning is not emitted. This allows syncdb and flush management commands to attempt to load it without causing spurious warnings. Thanks to Derega, ptone, dirigeant and d1ffuz0r for contributions to the ticket. | ||||
* | Improved the API of set_autocommit. | Aymeric Augustin | 2013-03-11 | 1 | -4/+4 |
| | |||||
* | Added some assertions to enforce the atomicity of atomic. | Aymeric Augustin | 2013-03-11 | 1 | -2/+9 |
| | |||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 7 | -0/+183 |