Home
last modified time | relevance | path

Searched refs:UniqueConstraintViolation (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_appengine_auth_models_test.py9 class UniqueConstraintViolation(Exception): class
158 raise UniqueConstraintViolation('Username %s already '
162 self.assertRaises(UniqueConstraintViolation, create_user, 'username_1')
165 self.assertRaises(UniqueConstraintViolation, create_user, 'username_2')
184 raise UniqueConstraintViolation('Username %s already '
187 raise UniqueConstraintViolation('Auth id %s already '
190 raise UniqueConstraintViolation('Email %s already '
194 … self.assertRaises(UniqueConstraintViolation, create_user, 'username_1', 'auth_id_2', 'email_2')
195 … self.assertRaises(UniqueConstraintViolation, create_user, 'username_2', 'auth_id_1', 'email_2')
196 … self.assertRaises(UniqueConstraintViolation, create_user, 'username_2', 'auth_id_2', 'email_1')
[all …]