summaryrefslogtreecommitdiff
path: root/tests/regressiontests/m2m_through_regress/tests.py
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2012-12-24Use new TestCase methods for equality comparisonsIan Clelland
2012-12-13Fixed #19462 -- Made assertQuerysetEqual detect undefined orderingAnssi Kääriäinen
If there are more than one values to compare against and the qs isn't ordered then assertQuerysetEqual will raise a ValueError.
2012-11-24Fixed ordering-related failure in m2m_through_regress testsAnssi Kääriäinen
2012-10-28Fixed #18823 -- Ensured m2m.clear() works when using through+to_fieldAnssi Kääriäinen
There was a potential data-loss issue involved -- when clearing instance's m2m assignments it was possible some other instance's m2m data was deleted instead. This commit also improved None handling for to_field cases.
2012-08-11[py3] Used six.StringIO to simulate stdout buffer in testsClaude Paroz
2012-05-05Replaced cStringIO.StringIO by io.BytesIO.Claude Paroz
Also replaced StringIO.StringIO by BytesIO in some other appropriate places. StringIO is not available in Python 3.
2011-10-13Convert the remainder of the relative imports in the tests to be absolute ↵Alex Gaynor
imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-26Fixed #15161 - Corrected handling of ManyToManyField with through table ↵Carl Meyer
using to_field on its ForeignKeys. Thanks to adehnert for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23Fixed #13799, a test failure on Postgres. Thanks, Alex.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07Fixed #13700 -- Converted m2m_through_regress tests to unittests, removing ↵Russell Keith-Magee
another flush call. Thanks to Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13324 bcc190cf-cafb-0310-a4f2-bffc1f526a37