summaryrefslogtreecommitdiff
path: root/tests/fixtures_model_package
AgeCommit message (Collapse)Author
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner
assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-05-15Fixed fixtures loading isolation in tests.François Freitag
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.
2020-05-13Removed redundant assertions in fixtures tests.François Freitag
2020-05-13Removed unused fixture2.xml from fixtures_model_package tests.François Freitag
2019-04-14Renamed camelCaseTestMethods to snake_case_test_methodsMarkus Holtermann
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-01-04Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception.Andrew Kuchev
Thanks to mpasternak for the report and Tim Graham for the review.
2015-01-17Removed support for custom SQL per deprecation timeline.Tim Graham
2015-01-17Removed support for initial_data fixtures per deprecation timeline.Tim Graham
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-10-21Removed unneeded override_system_checksClaude Paroz
Refs #23685.
2014-08-08Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite.Tim Graham
Thanks Claude Paroz for assistance with debugging the tests.
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
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.
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-09-09Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner
2013-09-03Updated syncdb -> migrate in tests.Tim Graham
2013-07-24Fixed #14300 -- Fixed initial SQL location if models is a package.Tim Graham
Thanks al_the_x for the report and fheinz for the draft patch.
2013-07-09Avoided transaction.set_autocommit in tests.Aymeric Augustin
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.
2013-06-30Stopped calling loaddata with commit=False.Aymeric Augustin
This was a stealth option only used by the tests, and it isn't useful any more since `atomic` provides nested transactions.
2013-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
2013-05-19Fixed fixtures testing failureAnssi Kääriäinen
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.
2013-05-19fix warnings imports in fixtures testsSenko Rasic
2013-05-19Fixed #18990 -- Loaddata now complains if fixture doesn't existSenko Rasic
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.
2013-03-11Improved the API of set_autocommit.Aymeric Augustin
2013-03-11Added some assertions to enforce the atomicity of atomic.Aymeric Augustin
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner