'This is a regression test for ticket #3790.'

def test_duplicate_pk(self):

    management.call_command(u'loaddata', u'sequence', verbosity=0)
    animal = Animal(name=u'Platypus', latin_name=u'Ornithorhynchus    anatinus', count=2, weight=2.2)
    animal.save()
    self.assertGreater(animal.id, 1)
