def METHOD_NAME(self):
    self.assertTrue(Person.objects.filter(pk=10000).exists())
    primary_membership = factories.MembershipFactory.create(
        person=self.primary_person,
        post=self.camberwell_post,
        party=self.labour_party,
        ballot=self.camberwell_post_ballot_earlier,
        elected=True,
    )
    factories.MembershipFactory.create(
        person=self.secondary_person,
        post=self.local_post,
        party=self.labour_party,
        ballot=self.local_election.ballot_set.get(post=self.local_post),
    )
    factories.MembershipFactory.create(
        person=self.secondary_person,
        post=self.camberwell_post,
        party=self.labour_party,
        ballot=self.camberwell_post_ballot,
    )
    # Now attach a vote count to the primary person's candidacy:
    result_set = ResultSet.objects.create(
        ballot=self.camberwell_post_ballot_earlier,
        num_turnout_reported=46659,
        num_spoilt_ballots=42,
        ip_address="127.0.0.1",
    )
    CandidateResult.objects.create(
        result_set=result_set,
        membership=primary_membership,
        num_ballots=27619,
    )
    # Now try the merge:
    response = self.app.get("/person/3885/", user=self.user_who_can_merge)
    # first submit the suggestion form
    suggestion_form = response.forms[SUGGESTION_FORM_ID]
    suggestion_form["other_person"] = "10000"
    response = suggestion_form.submit()
    # as user has permission to merge directly, submit merge form
    merge_form = response.forms[MERGE_FORM_ID]
    response = merge_form.submit()
    self.assertEqual(CandidateResult.objects.count(), 1)
    # Now reget the original person and her candidacy - check it
    # has a result attached.
    after_merging = Person.objects.get(pk=3885)
    membership = after_merging.memberships.get(
        ballot__election=self.earlier_election
    )
    candidate_result = membership.result
    self.assertEqual(candidate_result.num_ballots, 27619)
    self.assertFalse(Person.objects.filter(pk=10000).exists())
    self.assertTrue(membership.elected)