Did I find the right examples for you? yes no

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

src/c/a/candideitorg-django-0.0.1/candideitorg/tests.py   candideitorg-django(Download)
            )        
        candidate = Candidate.objects.create(
            name = "Juanito Perez",
            photo = None,
            slug = "juanito-perez",
            )
        self.candidate = Candidate.objects.create(
            name = "Juanito Perez",
            photo = "/media/photos/dummy.jpg",
            slug = "juanito-perez",
    def test_create_candidate(self):
        candidate = Candidate.objects.create(
            name = "Juanito Perez",
            photo = "/media/photos/dummy.jpg",
            slug = "juanito-perez",
    def test_unicode(self):
        candidate = Candidate.objects.create(
            name = "Juanito Perez",
            photo = "/media/photos/dummy.jpg",
            slug = "juanito-perez",
            )
        self.candidate = Candidate.objects.create(
            name = "Juanito Perez",
            photo = "/media/photos/dummy.jpg",
            slug = "juanito-perez",

src/v/o/votainteligente-portal-electoral-HEAD/elections/tests/candideitorg_popit_tests.py   votainteligente-portal-electoral(Download)
    def test_when_creating_a_candidate_it_creates_a_person(self):
        can_candidate = CanCandidate.objects.create(
            remote_id=1,
            resource_uri="/api/v2/candidate/1/",
            name="Perico los Palotes",
    def test_it_does_not_create_two_relations(self):
        can_candidate = CanCandidate.objects.create(
            remote_id=1,
            resource_uri="/api/v2/candidate/1/",
            name="Perico los Palotes",
    def test_it_posts_to_the_popit_api(self):
 
 
        can_candidate = CanCandidate.objects.create(
            remote_id=1,
            )
        can_candidate = CanCandidate.objects.create(
            remote_id=1,
            resource_uri="/api/v2/candidate/1/",
            name="Perico los Palotes",
            )
        can_candidate = CanCandidate.objects.create(
            remote_id=1,
            resource_uri="/api/v2/candidate/1/",
            name="Perico los Palotes",