'An answer posted by the asker can be the solution.'

def test_can_solve_with_answer_by_asker(self):

    self.client.login(username=self.question.creator.username, password='testpass')
    q = self.question
    Answer.objects.create(question=q, creator=q.creator, content='test')
    response = get(self.client, 'questions.details', args=[q.id])
    doc = pq(response.content)
    eq_(2, len(doc('form.solution    input[name="solution"]')))
