'When the same field is involved in multiple unique_together
constraints, we need to make sure we don\'t remove the data for it
before doing all the validation checking (not just failing after
the first one).'

def test_multiple_field_unique_together(self):

    Triple.objects.create(left=1, middle=2, right=3)
    form = TripleForm({u'left': u'1', u'middle': u'2', u'right': u'3'})
    self.assertFalse(form.is_valid())
    form = TripleForm({u'left': u'1', u'middle': u'3', u'right': u'1'})
    self.assertTrue(form.is_valid())
