Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/c/a/candideitorg-django-0.0.1/candidator/elections/tests/medianaranja.py   candideitorg-django(Download)
    def test_create_visitor_answer(self):
        visitor1 = Visitor.objects.create(election = self.election, election_url = reverse("election_detail",kwargs={'username': 'joe', 'slug':'barbaz'}))
        visitor_answer1= VisitorAnswer.objects.create(visitor=visitor1, answer= self.answer1_1, answer_importance=5)
        self.assertEqual(visitor_answer1.answer_text, self.answer1_1.caption)
        self.assertEqual(visitor_answer1.question_text, self.answer1_1.question.question)