'Test if username \'{0}\' and email \'{1}\' have conflicts with
username \'user\' and email \'user@email.com\'.'

@ddt.data(['username', 'username@email.com'], ['user', 'username@email.com'], ['username', 'user@email.com'], ['user', 'user@email.com'])
@ddt.unpack
def test_existence_conflict(self, username, email):

    user = User.objects.create_user(username='user', email='user@email.com')
    self.assertValidationDecision({'username': username, 'email': email}, {'username': (accounts.USERNAME_CONFLICT_MSG.format(username=user.username) if (username == user.username) else ''), 'email': (accounts.EMAIL_CONFLICT_MSG.format(email_address=user.email) if (email == user.email) else '')})
