Did I find the right examples for you? yes no

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

src/d/j/django_couchdb_utils-0.5/django_couchdb_utils/auth/tests.py   django_couchdb_utils(Download)
 
        user2 = User(**data)
        self.assertExcMsg(Exception, 'The username %s is already in use.' % data.get('username'),
                          user2.save)
 
        })
        user2 = User(**data)
        self.assertExcMsg(Exception, 'The email address %s is already in use.' % data.get('email'),
                          user2.save)