summaryrefslogtreecommitdiff
path: root/tests/fixtures_model_package
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner2022-10-081-4/+4
| | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-13/+18
|
* Fixed fixtures loading isolation in tests.François Freitag2020-05-153-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 Freitag2020-05-131-1/+0
|
* Removed unused fixture2.xml from fixtures_model_package tests.François Freitag2020-05-131-11/+0
|
* Renamed camelCaseTestMethods to snake_case_test_methodsMarkus Holtermann2019-04-141-1/+1
|
* Followed style guide for model attribute ordering.Matt Wiens2018-12-271-3/+3
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-2/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception.Andrew Kuchev2016-01-041-6/+2
| | | | Thanks to mpasternak for the report and Tim Graham for the review.
* Removed support for custom SQL per deprecation timeline.Tim Graham2015-01-174-26/+0
|
* Removed support for initial_data fixtures per deprecation timeline.Tim Graham2015-01-172-56/+2
|
* Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag2014-11-031-3/+2
|
* Removed unneeded override_system_checksClaude Paroz2014-10-211-3/+0
| | | | Refs #23685.
* Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite.Tim Graham2014-08-081-0/+1
| | | | Thanks Claude Paroz for assistance with debugging the tests.
* Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee2014-01-201-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 cleanupJason Myers2013-11-021-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-1/+0
|
* Whitespace cleanup.Tim Graham2013-10-102-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 Apolloner2013-09-091-2/+0
|
* Updated syncdb -> migrate in tests.Tim Graham2013-09-031-3/+3
|
* Fixed #14300 -- Fixed initial SQL location if models is a package.Tim Graham2013-07-243-0/+20
| | | | Thanks al_the_x for the report and fheinz for the draft patch.
* Avoided transaction.set_autocommit in tests.Aymeric Augustin2013-07-091-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 Augustin2013-06-301-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 Augustin2013-06-101-0/+3
| | | | Fixed #20483.
* Fixed fixtures testing failureAnssi Kääriäinen2013-05-191-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 testsSenko Rasic2013-05-191-1/+2
|
* Fixed #18990 -- Loaddata now complains if fixture doesn't existSenko Rasic2013-05-191-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 Augustin2013-03-111-4/+4
|
* Added some assertions to enforce the atomicity of atomic.Aymeric Augustin2013-03-111-2/+9
|
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-267-0/+183