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

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

src/d/j/django-starter-box-0.1.0/djaccount/tests/models.py   django-starter-box(Download)
 
        with self.assertRaises(AccountExternalTakenError):
            Account.objects.link_external(account=acc2, service=ext.service, service_id=ext.service_id)
 
        exts = Account.objects.load_external(account=acc2)

src/d/j/django-starter-box-HEAD/djaccount/tests/models.py   django-starter-box(Download)
 
        with self.assertRaises(AccountExternalTakenError):
            Account.objects.link_external(account=acc2, service=ext.service, service_id=ext.service_id)
 
        exts = Account.objects.load_external(account=acc2)