'The user\'s questions are mentioned on the confirmation page.'

@mock.patch.object(Site.objects, 'get_current')
def test_new_user_with_questions(self, get_current):

    get_current.return_value.domain = 'su.mo.com'
    user_ = RegistrationProfile.objects.create_inactive_user('sumouser1234', 'testpass', 'sumouser@test.com')
    q = Question.objects.create(title='test_question', creator=user_, content='test')
    key = RegistrationProfile.objects.all()[0].activation_key
    url = reverse('users.activate', args=[user_.id, key])
    response = self.client.get(url, follow=True)
    eq_(200, response.status_code)
    q = Question.objects.get(creator=user_)
    assert ('test_question' in response.content)
    assert (q.get_absolute_url().encode('utf8') in response.content)
