Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/o/portfoliyo-HEAD/portfoliyo/tests/view/village/test_forms.py   portfoliyo(Download)
            )
        assert form.is_valid(), dict(form.errors)
        profile = form.save()
 
        assert profile.phone == u'+13214567890'
            )
        assert form.is_valid(), dict(form.errors)
        profile = form.save()
 
        assert profile.phone == u'+13214567890'
        form = forms.InviteFamilyForm(self.data(), rel=rel)
        assert form.is_valid()
        profile = form.save()
 
        assert profile.invited_by == rel.elder
        form = forms.InviteFamilyForm(self.data(), rel=rel)
        assert form.is_valid()
        profile = form.save()
 
        assert profile.country_code == 'ca'
            self.data(contact='+13216540987'), rel=rel)
        assert form.is_valid(), dict(form.errors)
        profile = form.save()
 
        assert profile.user.is_active