Skip to content

Commit

Permalink
WIP changing computers
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Felipe Álvarez Burgos committed Oct 7, 2016
1 parent 70ca216 commit 637c7ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend_candidate/tests/candidacy_tests.py
Expand Up @@ -337,6 +337,11 @@ def test_get_url_candidate_login(self):
self.assertIsInstance(response.context['form'], AuthenticationForm)
self.assertTemplateUsed(response, 'backend_candidate/auth_login.html')

def test_unify_candidacies_and_previously_created_users(self):
user = User.objects.create(username='the_user', mail='candidate@party.com')
CandidacyContact.objects.create(candidate=self.candidate,
mail='candidate@party.com')


class SendNewUserToCandidate(CandidacyTestCaseBase):
def setUp(self):
Expand Down

0 comments on commit 637c7ec

Please sign in to comment.