diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2010-02-10 00:49:33 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2010-02-10 00:49:33 +0000 |
| commit | 225c413b08b3e034604ffbaed604a6867d7b712e (patch) | |
| tree | 4bf96bfd3ece9b9ba13dd321e422db24647dfe74 /tests/modeltests/validation/test_unique.py | |
| parent | 8f4540b2e68d4b9143d38d8af197cb4b794821b4 (diff) | |
Fixed #12647. Allow unique_together checks be specified as lists as well as tuples. Thanks, Honza Král.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/validation/test_unique.py')
| -rw-r--r-- | tests/modeltests/validation/test_unique.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/validation/test_unique.py b/tests/modeltests/validation/test_unique.py index 2d67a0a296..ebda9abe77 100644 --- a/tests/modeltests/validation/test_unique.py +++ b/tests/modeltests/validation/test_unique.py @@ -13,7 +13,7 @@ class GetUniqueCheckTests(unittest.TestCase): m._get_unique_checks() ) - def test_unique_together_gets_picked_up(self): + def test_unique_together_gets_picked_up_and_converted_to_tuple(self): m = UniqueTogetherModel() self.assertEqual( ([('ifield', 'cfield',),('ifield', 'efield'), ('id',), ], []), |
