def METHOD_NAME(self):
    """Test the import_identities method works running twice"""
    importer = MockedIdentitiesImporter(self.ctx, 'foo.url')
    importer.import_identities()
    individuals = Individual.objects.all()
    identities = Identity.objects.all()
    self.assertEqual(len(individuals), 1)
    self.assertEqual(len(identities), 1)
    indiv = individuals[0]
    identity = identities[0]
    self.assertEqual(indiv.identities.first(), identity)
    self.assertEqual(identity.source, 'test_backend')
    self.assertEqual(identity.username, 'test_user')
    importer.import_identities()
    individuals = Individual.objects.all()
    identities = Identity.objects.all()
    self.assertEqual(len(individuals), 1)
    self.assertEqual(len(identities), 1)
    indiv = individuals[0]
    identity = identities[0]
    self.assertEqual(indiv.identities.first(), identity)
    self.assertEqual(identity.source, 'test_backend')
    self.assertEqual(identity.username, 'test_user')